BOOLEAN

Convert value to boolean

Description

Converts the given value to a boolean. This conversion is equivalent to JavaScript !!value.

Function signature

BOOLEAN(value: String|Number|Boolean) => Boolean

Parameter

Description

Value

Value to convert

Examples

Formula

Return value

BOOLEAN("123")

true

BOOLEAN(123)

true

BOOLEAN("")

false