isBlank
Table of Contents
Overview
The isBlank function takes an expression as an argument, and returns true if it is a blank value. Otherwise, it returns false.
Return Type
- BOOLEAN
Syntax
<variable> = isBlank(<expression>);
<variable> = <expression>.isBlank();
where,
Parameter | Data type | Description |
<variable> | BOOLEAN | Variable which will contain the returned boolean value. |
<expression> | ANY DATA TYPE | The expression which needs to be checked for blank values. Find how isBlank operates on different values and returns corresponding boolean values. |
Examples
info isBlank ({}); // Returns true info " ".isBlank () ; // Returns true