Skip to content

Is_base64

hpgDesigns edited this page Aug 8, 2021 · 1 revision

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

Category:Function:Real

This is number 1

Clone this wiki locally