DS Server

Javascript: TableOfContentsInfo.length Property

Property|Introduced in 29.0

Description

The number of characters which belong to the table of contents.

Syntax

<number> TableOfContentsInfo.length

Examples

The following example demonstrates TableOfContentsInfo.length in a practical document-editing workflow. The number of characters which belong to the table of contents.

function inspectLength(tableOfContentsInfo) {
    const length = tableOfContentsInfo.length;
    console.log("length:", length);
}