Skip to main content
Version: v1

IMergeNodeCommon Interface

Signature

export interface IMergeNodeCommon

Properties

Property Modifiers Type Description
cachedLength number The length of the contents of the node.
index number
ordinal string
parent optional IMergeBlock

Methods

Method Return Type Description
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