Skip to content

PersistentAI API Documentation / @persistentai/fireflow-nodes / getByPath

Function: getByPath()

getByPath(obj, path): any

Defined in: packages/fireflow-nodes/src/nodes/transforms/utils.ts:15

Navigate object by path string Supports: "a.b", "a[0]", "a.b[0].c"

Parameters

obj

any

path

string

Returns

any

Licensed under BUSL-1.1