Defined in: packages/heap/src/serialization/binary.ts:87
Runtime inputs for decoding a heap’s generic node run.
Type Parameters
Section titled “Type Parameters”A
Properties
Section titled “Properties”
readonlycodec:ElementCodec<A>
Defined in: packages/heap/src/serialization/binary.ts:89
Codec matching the one used to serialize the node run.
isElement?
Section titled “isElement?”
readonlyoptionalisElement?: (value) =>value is A
Defined in: packages/heap/src/serialization/binary.ts:91
Optional validation applied to every decoded node.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”value is A