Constructor
new IndexAction()
- Source:
Examples
//Lookup the item "myLookupItem" inside the array property "myArrayProperty", and save the resulting index in the variable "myResultVariableName"
{"index": {
"of": {
"property": "myArrayProperty"
},
"item": "myLookupItem",
"as": "myResultVariableName"
}}
//Shorthand, lookup the "myLookupItem" inside the property array "myArrayProperty", and saves the index in the variable "index"
{"index": {"myArrayProperty": "myLookupItem"}}