readPath
@forge/monorepo / backend/src / readPath
Function: readPath()
readPath(
state,path):unknown
Defined in: backend/src/flows/interpreter.ts:112
Read a $.a.b path out of the state.
A path walk, not an expression evaluator. The definitions will eventually be authored in a UI by someone who is not an engineer (REQ-042), and an expression language in stored data is an interpreter for whatever they typed.
Parameters
state
Readonly<Record<string, unknown>>
path
string
Returns
unknown