Difference between revisions of "IsEmpty"
Line 1: | Line 1: | ||
− | + | {{HelpFiles}} | |
− | {{HelpFiles}} | ||
− | ====isEmpty==== | + | ==== isEmpty ==== |
− | Checks if the parameter is empty | + | Checks if the parameter is empty |
− | '''Syntax''' | + | '''Syntax''' |
− | isEmpty(expression) | + | isEmpty(expression) |
− | '''Arguments''' | + | '''Arguments''' |
− | expression: Is an expression of any types defined | + | expression: Is an expression of any types defined |
− | '''Return type''' | + | '''Return type''' |
− | bool | + | bool |
− | '''Examples''' | + | '''Examples''' |
− | '' | + | ''number a;'' |
− | '' | + | ''if (isEmpty(a)) print("a is empty.");'' |
− | '' | + | ''//Result: a is empty.'' |
− | '' | + | '''Availability''' |
− | + | Version 4.8 __NOTOC__ <!-- imported from file: 416.htm--> | |
− | + | [[Category:General_Functions]] | |
− | |||
− |
Latest revision as of 04:48, 22 December 2011
isEmpty
Checks if the parameter is empty
Syntax
isEmpty(expression)
Arguments
expression: Is an expression of any types defined
Return type
bool
Examples
number a;
if (isEmpty(a)) print("a is empty.");
//Result: a is empty.
Availability
Version 4.8