AsBoolean

Description

Converts a specified string value to either the Boolean value true or false.

This function does not accept null values in arguments.

Use

  • Argument:
    • Select an argument. (String)
  • True value:
    • Enter a value which is replaced by true. (Boolean)
  • False value:
    • Enter a value which is replaced by false. (Boolean)
  • Case insensitive:
    • By default, this function is case sensitive. Check the box to make this function case insensitive. (Optional)
  • Output field:
    • Enter an output field name.

Example

True value = Yes

False value = No

String valueAsBoolean() returns
Yestrue
Nofalse
Green(minus) (can't convert)

Hero Platform_ Example

An example of this function can be found in Hero Platform_'s library of examples.

Download the example titled "function_AsBoolean" to see an example of this function. 


Type

Formulas