Conversion
ToString
ToString(value: any) -> string
The value as text. Null gives the empty string, and a list or a struct its JSON.
ToNumber
ToNumber(value: any) -> number
The value as a number: true is 1, false is 0, and text is read as a decimal number. Anything that is not a number gives null.
ToBool
ToBool(value: any) -> boolean
False for false, 0, the empty string, null and an empty list. True otherwise.