Is_base64 - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Checks whether or not the given value is base64 and returns the result.
Parameters
Parameter | Data Type | Description |
---|---|---|
val | variant | the value to check if it is base64 |
Return Values
boolean: Returns whether or not the value is base64.
Example Call
// demonstrates checking if a character is base64
if (is_base64(val)) {
// is base64
} else {
// is not base64
}
NOTOC