Packages > @fluidframework/merge-tree > SegmentGroupCollection

SegmentGroupCollection Class

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

export declare class SegmentGroupCollection

Constructors

Constructor Alerts Description
(constructor)(segment) Alpha Constructs a new instance of the SegmentGroupCollection class

Properties

Property Alerts Modifiers Type Description
empty Alpha readonly boolean
size Alpha readonly number

Constructor Details

(constructor)

Constructs a new instance of the SegmentGroupCollection class

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

constructor(segment: ISegment);

Parameters

Parameter Type Description
segment ISegment

Property Details

empty

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

size

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 size(): number;

Type: number