Tests to see if the given path exists under a specific root object.

This function is valid in v2.8.0 to v2.24.2. This function has been downloaded 40 times.


{*} root
Object to start at as the root of the proposed path.
{Array} path
An array of strings and/or numbers that represent the path to be tested under root.


true if the specified path is found under root, otherwise false.

Required Function

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

  • testAt()
    Tests a given path under the given root object and returns the values at each step of that path.