Director Help

voidP()

Usage

-- Lingo syntax
voidP(variableName)

// JavaScript syntax
variableName == null

Description

Function; determines whether a specified variable has any value. If the variable has no value or is VOID, this function returns TRUE. If the variable has a value other than VOID, this function returns FALSE.

Parameters

variableName Required. Specifies the variable to test.

Example

This statement checks whether the variable answer has an initial value:

-- Lingo syntax
put voidP(answer)

// JavaScript syntax
put(answer == null));

See also

ilk(), VOID