Find the first occurrence of a value in an array.
Array: Location of an array that you are iterating over Condition: Condition to match against
Output-location: The location for the found value to be saved
Let’s say we want to iterate over an array and find the first occurrence of “a”
- Using the Testing feature, let’s send an array of [“a”, “b”, “c”] in the request body