IIntervalHelpers Interface

Packages > @fluidframework/sequence > IIntervalHelpers

Signature:

export interface IIntervalHelpers<TInterval extends ISerializableInterval> 

Methods

List of methods of this class
Method Description
compareEnds(a, b)
create(label, start, end, client, intervalType)

Methods

compareEnds

Signature:

compareEnds(a: TInterval, b: TInterval): number;

Parameters

List of parameters
Parameter Type Description
a TInterval
b TInterval

Returns:

number

create

Signature:

create(label: string, start: number, end: number, client: MergeTree.Client, intervalType?: MergeTree.IntervalType): TInterval;

Parameters

List of parameters
Parameter Type Description
label string
start number
end number
client MergeTree.Client
intervalType MergeTree.IntervalType

Returns:

TInterval