ArrayGetNumberByPath Op
finds a number at a position in an array defined by path
Summary (oneliner)
useful when working with nested data structures.
the path defines the way to the number. the number will be returned
given an array like this:
[ 1,2,3,4,5]
a path of 1 will return 2
:
Full Name
- Ops.Data.JsonPath.ArrayGetNumberByPath
- Core Op - visible for everyone
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ArrayGetNumberByPath - Example
INPUT PORTS
Array (Array)
Path (String)
the past (i.e. person.age)
OUTPUT PORTS
Output (Number)
the number
Found (booleanNumber)
Patches using ArrayGetNumberByPath
Changelog
cloned op from Ops.Json.ObjectGetNumberByPath | ||
Ops.User.cables.ArrayGetNumberByPath renamed to Ops.Json.ArrayGetNumberByPath | ||
improvement | change errorlevels, show hint when no path provided | |
improvement | change "found" port to boolNum type | |
improvement | show full path in extended title |