isNull (Check for NULL or undefined)

Prev Next

See also: isEmpty (Check for empty)

Checks if all passed values are NULL or undefined.

Tooltip

Syntax: $isNull(value1[,value2[,value3 ...]])

All passed parameters are checked for NULL or undefined.

Returns true if all passed parameters are NULL or undefined, otherwise false.

Examples: $isNull($null) – returns true$isNull({undefineddatafield} – returns true$isNull() – returns false (because of empty text)

Syntax

$isNull(value1[,value2[,value3 ...]])

Parameter

All passed parameters are checked for NULL or undefined.

Return value

True if all passed parameters are NULL or undefined, otherwise false.

Example

Syntax

Result

$isNull($null)

true

$isNull({undefineddatafield}

true

$isNull()

false (because of empty text)