Class: Primitive
Description
This method returns an indication of whether the value of the primitive is the null value. An optional parameter specifies how to handle a string consisting of two quotes.
Syntax
Primitive.isNull(Boolean isIncludeEmptyQuotes)
Parameters
isincludeEmptyQuotes |
An option that indicates whether the string consisting of two quotes ("") is treated as a null value. Valid values include: 1 -- treat as a null value 0 -- do not treat as a null value (default) |
Returns
1 if the primitive's
value is null.
0 if the primitive's value is not null.
When Became Available
Profile v7.0
Example
type String QUOTES = """""" // two quotes
write QUOTES.isNull(0) // strict: 0
write QUOTES.isNull(1) // with isIncEmpQts: 1
write QUOTES.isNull() // default = strict: 0
write "".isNull(0) // "normal" empty: 1
write "".isNull(1) // 1, regardless of isIncEmpQt