Skip to main content

BOOLEAN_FROM

Convert text by comparing it with a designated true value.

Return Type​

Boolean.

Inputs​

arg is a required Text expression. Optional scalar trueValue defaults to true. Required undeterminedIf.isEmpty supplies a message for missing input.

Syntax and Example​

BOOLEAN_FROM:
arg:
TEXT: "enabled"
trueValue: "enabled"
undeterminedIf:
isEmpty: The feature state is unavailable.

Behavior and Missing Values​

A match returns true; any other non-empty value returns false. Alternative spellings such as yes or enabled require an explicit trueValue. Empty input produces UNDETERMINED with the supplied message.