Skip to main content

As Boolean

An expression editor function that converts an object to a boolean type.

Updated yesterday

Overview

This function lets you cast (treat) an object, variable, or value as a boolean.


Parameters

asBool(object)

Object

The object, variable, or value to convert to boolean.


For example...

asBool(1)

Returns true.

asBool(0)

Returns false.

Did this answer your question?