Boolean

The return type is expected to be a boolean value of true or false. Arcade will convert the return type to a boolean via the following transformations:

  • booleans are returned unchanged.

  • numbers are true if not equal to 0 or NaN, false otherwise.

  • strings are true if a lower-case comparison is equal to 'true', false otherwise.

  • all other types are false.

Since

200.1.0