isBase58 property
bool
get
isBase58
Checks if the string is base58 encoded.
Base58 encoding is a binary-to-text encoding used to represent large integers as alphanumeric text. It uses a 58-character subset of ASCII excluding the similar-looking characters: 0 (zero), O (capital o), I (capital i), and l (lowercase L).
Returns true if the string is valid base58 encoded, otherwise returns false.
Example:
'3yDKLZJ4PC1HE4Y8L8Esx'.isBase58; // true
'hello 0OIl world'.isBase58; // false
Implementation
bool get isBase58 {
return _isBase58(this);
}