core Types
core.string
Unicode text.
primitive
core.integer
Checked signed 64-bit whole number.
primitive
core.decimal
Exact base-ten calculation value; rounding is explicit.
primitive
core.boolean
True or false without truthiness conversion.
primitive
core.date
Calendar date with no time or timezone.
primitive
core.datetime
Instant with an explicit offset or UTC.
primitive
core.duration
Signed elapsed amount of time.
primitive
core.bytes
Immutable byte sequence.
primitive
core.null
Explicit absence.
primitive
core.void
No return value; cannot be used as data.
primitive
core.object
Map of named data properties. Fixed fields or typed dictionary values are expressed by its schema.
object
Object Schema
{
"type": "object",
"additionalProperties": true
}core.array
Ordered sequence of values; item type is supplied by the declared contract.
array
Items: core.data
add
Append one item; mutates this array and cannot be chained.
| Argument | Type | Required | Default |
|---|---|---|---|
| value | core.data | Yes | — |
Returns: core.void
Statement Only · No Return Value
core.data
Serializable data; excludes handles, cycles and functions.
union
core.string | core.integer | core.decimal | core.boolean | core.date | core.datetime | core.duration | core.bytes | core.null | core.object | core.array
core.numeric
A numeric operand, not another primitive type.
union
core.integer | core.decimal
core.scalar
Scalar data accepted by explicit scalar conversion.
union
core.string | core.integer | core.decimal | core.boolean | core.date | core.datetime | core.duration | core.null
core.Mapper
Named helper mapping one data item.
function
core.Predicate
Named helper testing one data item.
function
core.Comparator
Named stable-order comparator.
function
core.payload
Non-null data accepted by a required byte-valued Service argument; the conversion contract produces bytes.
union
core.string | core.integer | core.decimal | core.boolean | core.date | core.datetime | core.duration | core.bytes | core.object | core.array