reflect.Value.isNull
Checks if this reflect.Value
is
NULL
.
Syntax
isNull( )
RETURNS BOOLEAN
Usage
The isNull()
method returns TRUE
, if the
reflect.Value
object references a value that is NULL
.
Example
IMPORT reflect
MAIN
DEFINE s STRING
LET s = "abc"
IF reflect.Value.valueOf(s).isNull() THEN
DISPLAY "s is null"
ELSE
DISPLAY "s is not null"
END IF
END MAIN
Shows:
s is not null