cables is under heavy development.
There might be one or another bug, please let us know about it!

ArrayGetNumberByPath Op

Namespace: Ops.Json

Op author: stephan

finds a number at a position in an array defined by path

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:


Array (Array)
Path (String)

the past (i.e. person.age)


Output (Number)

the number

Found (boolean Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

ArrayGetNumberByPath - Example

Patches using ArrayGetNumberByPath

  • Examples (1)
  • Public
  • My Patches


cloned op from Ops.Json.ObjectGetNumberByPath
2021-01-08 - cables
Ops.User.cables.ArrayGetNumberByPath renamed to Ops.Json.ArrayGetNumberByPath
2021-01-08 - cables