Logical.ToText

Last updated 3 months ago

Logical.ToText

Returns the text "true" or "false" given a logical value.

function (optional logicalValue as nullable any) as nullable any

Description

Creates a text value from the logical value logicalValue, either true or false. If logicalValue is not a logical value, an exception is thrown.

Category

Logical

Examples

Create a text value from the logical true.

Logical.ToText(true)

"true"