Documentation Index

Fetch the complete documentation index at: https://docs.lobster-world.com/llms.txt

Use this file to discover all available pages before exploring further.

level of tree()

Prev Next

This function returns the level of the node or field in the target structure. The level of the root node is defined as "1". A subnode of the root node has level "2" (level of parent node + 1).

This function has no parameters.

Examples

The following target structure is given.

images/download/attachments/201686741/291-version-1-modificationdate-1750239264829-api-v2.png

All fields and nodes contain the function described here.

Node/Field

Result

RootLevelNode

1

RootLevelField

2

SubLevelNode

2

SubLevelField

3

SubSubLevelNode

3

SubSubLevelField

4