Skip to main content
Skip table of contents

Boolean functions

Overview

Data Management has a single Boolean function, AsBoolean.

AsBoolean

Attempts to interpret value as a Boolean value.

Syntax

AsBoolean( value )

The required argument value may of type Boolean or Text.

Remarks

If value is Text, the text is scanned. Text values with a leading "y," "Y," '"T," "t," or "1" are considered True; all others are False.

Example

  • AsBoolean( "1" ) returns True.

  • AsBoolean( "Maybe" ) returns False.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.