The following methods are common to all CSML primitive types.
Return the type of the target value (string
, array
, object
, float
, boolean
, int
, null
)
Return the target value formatted as a string.
Check if a variable can be interpreted as a number (float or int)
Check if the variable can be interpreted as an int
Check if the variable can be interpreted as an float
Some functions may resolve to an error due to a faulty user input, an unreachable API, or some other bug in the code. You can check the result of such functions call (like HTTP()
or App())
with .is_error()
, and get more information with .get_info()
.