readPath()
pixi-wheels / index / readPath
Function: readPath()
function readPath(source: unknown, path: string): unknown;
Defined in: adapter/targetAdapter.ts:30
Read a dotted path (a.b.0.c) off an object. Throws when a step is missing.
Parameters#
| Parameter | Type |
|---|---|
source | unknown |
path | string |
Returns#
unknown