Cloud Software Group, Inc. EBX®
Documentation > Developer Guide > EBX® Script > API
Navigation mode Documentation > Developer Guide > EBX® Script > API

# Unit default

The default unit. This unit is automatically included in a script.

Methods from this script can be called directly and do not require a uses statement.

Methods
function isFalseOrNull(value: boolean): boolean Returns true if value is false of null.
function isNull(value: any_type): boolean Returns true if value is null.
function isTrueOrNull(value: boolean): boolean Returns true if value is true or null.

## isFalseOrNull

function isFalseOrNull(value: boolean): boolean

Returns true if value is false of null.

Parameters :

value: a boolean value.

Return :

true if value is null or false, or else false. Never returns null.

Can be used in: Script tasks, Table triggers, Function fields

## isNull

function isNull(value: any_type): boolean

Returns true if value is null.

Parameters :

value a value of any type.

Return :

true if value is null or else false. Never returns null.

Can be used in: Script tasks, Table triggers, Function fields

## isTrueOrNull

function isTrueOrNull(value: boolean): boolean

Returns true if value is true or null.

Parameters :

value: a boolean value.

Return :

true if value is null or true, or else false. Never returns null.

Can be used in: Script tasks, Table triggers, Function fields

Documentation > Developer Guide > EBX® Script > API