Skip to main content
Version: v1

IMergeNodeCommon Interface

Signature

export interface IMergeNodeCommon

Properties

PropertyModifiersTypeDescription
cachedLengthnumberThe length of the contents of the node.
indexnumber
ordinalstring
parentoptionalIMergeBlock

Methods

MethodReturn TypeDescription
isLeaf()this is ISegment

Property Details

cachedLength

The length of the contents of the node.

Signature

cachedLength: number;

Type: number

index

Signature

index: number;

Type: number

ordinal

Signature

ordinal: string;

Type: string

parent

Signature

parent?: IMergeBlock;

Type: IMergeBlock

Method Details

isLeaf

Signature

isLeaf(): this is ISegment;

Returns

Return type: this is ISegment