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'));
Readonly
The
val
class represents a "val" JSON CRDT node. As the generic type parameter, it takes the type of the inner node builder.Example: