logic/path/integer
If pathToSearch is "a.b" then it will return 1 if obj is {a:{b:1}}. It will return undefined, if such path is not found. See Rambdax's path"
Path
pathToSearch
result
obj
Inputs
Name | Type | Default Value | Choices |
---|---|---|---|
pathToSearch | string | ||
obj | object |
Outputs
Name | Type |
---|---|
result | integer |