Carrot reference
Functions
boolean()
converts supported datatypes into a boolean, equal to either true or false syntax boolean(value) value the value to be evaluated by the function return type boolean docid\ kdvwa4opcqwedhpycth4l sample usage boolean(0) returns false boolean("yes") returns true supported data types input type return type logic string docid\ ujw2aqaktel5uuklup73s boolean docid\ kdvwa4opcqwedhpycth4l string values that start with y or t return true string values that start with n or f return false number docid\ uci5tctfvbhonej6zqijg boolean docid\ kdvwa4opcqwedhpycth4l number values equal to 0 return false non zero number values return true boolean docid\ kdvwa4opcqwedhpycth4l boolean docid\ kdvwa4opcqwedhpycth4l boolean values remain unchanged unsupported type null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null