check whether a string is a base64 encoded string or not
string to be checked
true if the string is a Base64 encoded string
isBase64URL
isBase64("YWE=") -> trueisBase64("YW_=") -> falseisBase64("YWE") -> false // length shall be multiples of 4 Copy
isBase64("YWE=") -> trueisBase64("YW_=") -> falseisBase64("YWE") -> false // length shall be multiples of 4
check whether a string is a base64 encoded string or not