op.level
| Syntax |
op.level ()
|
| Params |
None required
|
| Action |
Determines the level of the current heading.
|
| Returns |
A number indicating the level of the current heading, where 1 is a summit heading and higher numbers indicate deeper levels of outline.
|
| Examples |
In examples.Sample Outline 2, position the cursor on the summit heading and execute: op.level ()
The example returns 1, indicating that this is a summit-level head. |