Global Built-in Functions
Type & reflection
typeof(value) → string
typeof(value) → stringlog typeof(5) // "number"
log typeof("hi") // "string"
log typeof([1, 2]) // "array"symbol() → symbol
symbol() → symbolType conversion & construction
Function
Result
Notes
Function
Result
Purpose
Maths
Function
Result
Description
Encoding
Function
Result
Description
Control & error handling
try(expression) → result
try(expression) → resultsome(value) → option / none() → option
some(value) → option / none() → optionask(prompt) → result
ask(prompt) → resultAdvanced
raw(goCode)
raw(goCode)See also
Last updated