Difference between revisions of "IsEmpty"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
{{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;''  
  
''number a;''
+
''if (isEmpty(a)) print("a is empty.");''  
  
''if (isEmpty(a)) print("a is empty.");''
+
''//Result: a is empty.''
  
''}''
+
'''Availability'''  
  
'''Availability'''
+
Version 4.8 __NOTOC__ <!-- imported from file: 416.htm-->
  
Version 4.8
+
[[Category:General_Functions]]
__NOTOC__
 
<!-- imported from file: 416.htm-->
 

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