op.countSummits

Syntax op.countSummits ()

Params None required

Action Counts the number of summits in the current outline.

Returns A number indicating the total number of summit headings in the current outline.

Examples In examples.Sample Outline 2, with the cursor positioned wherever you like, execute:
op.countSummits ()


   » 1

There is only one summit heading in this outline.

In examples.Sample Outline 1, position the cursor anywhere you wish and execute:
op.countSummits ()


   » 3

There are three summit-level heads in this outline.

Notes Every Frontier outline has at least one summit heading.

Frontier outlines can contain an arbitrarily large number of summit headings.

See Also op.countSubs

Discuss