Skip to content

rulvar API reference


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

ParameterType
childScopestring

Returns

number