EMPTY

EMPTY (x)

Returns true if x is

  • a zero length array
  • an empty string
  • a number with the value 0.

Example

s = ""
a = []
dim b
i = 0

if(empty(s)) then print "s is empty"
if(empty(a)) then print "a is empty"
if(empty(b)) then print "b is empty"
if(empty(i)) then print "i is empty"
Data
If there is insufficient information on this page and you wish learn more about EMPTY, please send an email to smallbasic@gmail.com. You can help to improve information about EMPTY by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.