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 MutableDocumentPath.register.

Not available in React Native environments.

Hierarchy (view full)

Accessors

Methods

Accessors

  • get value(): any
  • Returns the value of the register.

    Not available in React Native environments.

    Returns any

  • set value(value): void
  • Convenience setter, equivalent to set().

    Not available in React Native environments.

    Parameters

    • value: any

    Returns void

Methods