pathIn()

Validate a proposed path and determine how much of it can actually be traversed.

This function is valid in v2.23.0 to v2.24.3. This function has been downloaded 35 times.

Parameters

{*} root
The root object from which to start traversing path.
{Array} path
An array of names indicating the path under root that should be traversed.

Returns

{Array}
The path that can actually be traversed.

Required Function

This function directly requires the following function which is included automatically:

  • getAllIn()
    Get all of the values in root at each step of the given path.

Requiring Function

This function is directly required by the following function:

  • getAllIn()
    Get all of the values in root at each step of the given path.