Skip to content

@modoki/engine / index / resolveTrackTarget

Function: resolveTrackTarget() ​

resolveTrackTarget(index, rootId, path): number | null

Resolve a relative name-path from rootId to a descendant entity id, or null. "" resolves to the root itself.

Parameters ​

index ​

EntityIndex

rootId ​

number

path ​

string

Returns ​

number | null

Built with Modoki.