fbpx
Select Page

Convert the value into True or False.

Usage

Logical(<input>)

input (required) The input that you would like to be interpreted as a logical operator. Input can be text or number. When inputting text, “true” and “false” will be converted into logical operators, all other text will result in null. Who inputting a number, 0 is interpreted as false and all other numbers are interpreted as true.

NOTE: The Logical function can be used within other functions to ensure that an input is being read as a logical input.

More About Text Functions

Type functions are used to convert an input of one type into other types, e.g. from the string “3” to the number 3. Read more about types of values and how they affect functions.

We are rewriting the rules of analytics. Sigma empowers domain experts to join the data conversation, answer the toughest questions, and drive insights.