json-joy
    Preparing search index...

    Class val<T>

    The val class represents a "val" JSON CRDT node. As the generic type parameter, it takes the type of the inner node builder.

    Example:

    s.val(s.con(0));
    s.val(s.str(''));
    s.val(s.str('hello'));

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    _build?: (builder: PatchBuilder) => ITimestampStruct
    type: "val" = 'val'
    value: T

    Methods