attempt()
Attempts to call a function if one exists at the given path starting at the given root object.
This function is valid in v2.8.0 to v2.24.3. This function has been downloaded 60 times.path
the find the corresponding function to be called.root
's function that will be called. If this is an array it represents a path to the object and then the underlying function that will be called.path
.path
under root it will be executed and the return value will be returned. Otherwise undefined
is returned.This function directly requires the following function which is included automatically:
slice()