the expected type for the returned value
if type
is Array
or Set
, the expected item type. If not
provided, values in a multi-valued property will not be cast
a function to merge multiple values into a single atom
if type
is Array
or Set
, the expected item type. If not
provided, values in a multi-valued property will not be cast
the expected type for the returned value
a function to merge multiple values into a single atom
Casts a property value to the given JavaScript type. This is a typesafe cast which will not perform type coercion e.g. strings to numbers.
the value to cast (as from a subject property)
Obtains a static, shared type representation for the given parameters.
the atom type or container type
the atom type, if type
is a container (else ignored)
Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.10.1-edge.4 Source code licensed MIT. Privacy policy
Runtime representation of a supported Javascript container type, such as an Array or Set.