Get a JavaScript object representation of the primitive value. This is an alias for calling value().
If the underlying instance's value is not of the expected type at runtime, returns undefined.
Get a JSON-serializable representation of the primitive value. Binary values are converted to base64-encoded strings.
If the underlying instance's value is not of the expected type at runtime, returns undefined.
Generated using TypeDoc
PrimitiveInstance represents a snapshot of a primitive value (string, number, boolean, JSON-serializable object or array, or binary data) that was stored at a key within a collection type.