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 full)

Constructors

Properties

Constructors

Properties

type: "val" = 'val'
value: T