Skip to content
Fenhl edited this page Apr 6, 2015 · 1 revision

Values are the elements that are transported over channels and stored in variables. There are eight types of values:

Name Summary Serializable
exception An error, which has a name and optional metadata No
null A single value null, representing “nothing” Yes
boolean Either true or false Yes
number A signed arbitrary-precision rational number Yes, but possibly losing precision
string A sequence of zero or more characters (Unicode Scalar Values) Yes
array An ordered sequence of zero or more values If all elements are serializable
object An ordered mapping of unique keys to values If all keys are strings and all values are serializable
function A representation of a filter, with namespace capturing and pattern matching No
Clone this wiki locally