LocalReferenceCollection Class
Represents a collection of LocalReferencePositions associated with one segment in a merge-tree. Represents a collection of LocalReferencePositions associated with one segment in a merge-tree.
This API is provided for existing users, but is not recommended for new users.
To use, import via @fluidframework/merge-tree/legacy
.
For more information about our API support guarantees, see here.
Signature
/** @sealed */
export declare class LocalReferenceCollection
Properties
Property | Alerts | Modifiers | Type | Description |
---|---|---|---|---|
empty | Alpha |
readonly |
boolean | Determines if the collection has no references in it. |
Property Details
empty
Determines if the collection has no references in it.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/merge-tree/alpha
.
For more information about our API support guarantees, see here.
Signature
get empty(): boolean;
Type: boolean
Remarks
This method should only be called by mergeTree.