getAllIn()
Get all of the values in root at each step of the given path.
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}
An array with the value found at each step of path
starting at root
. Since values may not exist past a certain point, this array may be shorter than path
.
Required Functions
This function directly requires the following functions which are included automatically:
-
getIn()
Get the value starting at root and traversing the given path.
-
hasIn()
Determine if a path can be fully traversed starting at a given root value.
-
pathIn()
Validate a proposed path and determine how much of it can actually be traversed.
-
setIn()
Sets a value under a root object after traversing the given path.
Requiring Functions
This function is directly required by the following functions:
-
getIn()
Get the value starting at root and traversing the given path.
-
hasIn()
Determine if a path can be fully traversed starting at a given root value.
-
pathIn()
Validate a proposed path and determine how much of it can actually be traversed.
-
setIn()
Sets a value under a root object after traversing the given path.