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 docid\ kdvwa4opcqwedhpycth4l sample usage boolean(0) returns false boolean("yes") returns true supported data types input type return type logic docid\ ujw2aqaktel5uuklup73s docid\ kdvwa4opcqwedhpycth4l string values that start with y or t return true string values that start with n or f return false docid\ uci5tctfvbhonej6zqijg docid\ kdvwa4opcqwedhpycth4l number values equal to 0 return false non zero number values return true docid\ kdvwa4opcqwedhpycth4l docid\ kdvwa4opcqwedhpycth4l boolean values remain unchanged unsupported type docid\ n9trvqonnbknql9drnbp6 unsupported data types return null
