The val class represents a "val" JSON CRDT node. As the generic type parameter, it takes the type of the inner node builder.
val
Example:
s.val(s.con(0));s.val(s.str(''));s.val(s.str('hello')); Copy
s.val(s.con(0));s.val(s.str(''));s.val(s.str('hello'));
Optional
Readonly
Returns a string representation of an object.
The
valclass represents a "val" JSON CRDT node. As the generic type parameter, it takes the type of the inner node builder.Example: