isNull (Check for NULL or undefined)

See also: isEmpty (Prüfung auf leer)

Checks if all passed values are NULL or undefined.

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)