IsNotNothing

Typeoperator
DictionaryLCB
LibraryLiveCode Builder
Syntax
<Target> is not nothing
Associationscom.livecode.type
Summary

Determines whether Target is nothing or not.

Parameters
NameTypeDescription
Target

Any expression

Example
public handler CanBeNumber(in pString as String) returns Boolean
    variable tNum as optional Number
    put pString parsed as number into tNum
    return tNum is not nothing
end handler
Values
NameTypeDescription
return

Returns false if the given expression Target is nothing, and true otherwise.

Description

Use the IsNotNothing operator to test if operators or handlers have returned anything.