Skip to main content

responsePathAsArray

Callable

  • responsePathAsArray(path: Readonly<Path | Root>): (string | number)[]

  • Given a Path, return an Array of the path keys.


    Parameters

    • path: Readonly<Path | Root>

    Returns (string | number)[]