Skip to content

walkNS() function

Home > streplts > walkNS

Traverses a segmented phrase chain down hierarchical branch namespaces.

Signature:

export declare function walkNS(parts: string[], registry: Registry): {
reg: Registry;
depth: number;
};

Parameter

Type

Description

parts

string[]

Ordered list segments indicating current structural traversal route paths.

registry

Registry

The starting parent execution registry tree boundary.

Returns:

{ reg: Registry; depth: number; }

Nested target lookup container references alongside calculated traversal depth counts. *