isValidObject
Table of Contents
Overview
The isValidObject function validates an expression for null and empty values. If the expression does not resolve to null or empty, the function returns a true. If not, it returns a false.
Return Type
Syntax
<variable> = <expression>.isValidObject();
where,
Parameter | Data type | Description |
<variable> | BOOLEAN | Variable which will contain the boolean result of the isValidObject operation. |
<expression> | ANY DATA TYPE | The value which needs to be validated for null and empty values. |
Examples
is_valid="Zoho".isValidObject(); // is_valid will be assigned 'true' value = ''; isValid= value.isValidObject(); // isValid will be assigned 'false', since the value is empty.