Returns the value of the register.
Convenience setter, equivalent to set().
Sets the register to the provided value.
Only valid within the
update closure of
otherwise an exception is thrown.
Represents a mutable CRDT register that can be set to a specific value when updating a document.
This class can't be instantiated directly, it's returned automatically for any register property of a document within an update block via register.