pathToSearch
(string, required): The path to search for in the object, using dot-notation (e.g., “user.address.city”).obj
(object, required): The object to search.result
(object): The value found at the specified path in the object. If the path is not found, the output will be undefined.obj
input. This is the object you want to search.pathToSearch
input, using dot-notation. For example, if you want to find the city in { user: { address: { city: "New York" } } }
, you would use the path “user.address.city”.result
output. If the path is not found, the output will be undefined.obj
input of the Path node.pathToSearch
input to “user.address.city”.result
output to a Text node to display the city.result
output will be undefined. Make sure to handle this case in your spell if necessary.pathToSearch
input with the Magick templating syntax, which also uses double curly braces {{ }}
.