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