rulvar API reference / @rulvar/rulvar / spawnDepthOf
Function: spawnDepthOf()
ts
function spawnDepthOf(childScope): number;Defined in: packages/core/dist/index.d.ts
Nesting depth of a child scope: its workflow, agent, and plan-node segments.
Parameters
| Parameter | Type |
|---|---|
childScope | string |
Returns
number