First Operator
First matching element from array
- a: banana
- a: cat
- a: appleyq 'first(.a == "cat")' sample.ymla: catFirst matching element from array with multiple matches
- a: banana
- a: cat
b: firstCat
- a: apple
- a: cat
b: secondCatFirst matching element from array with numeric condition
First matching element from array with boolean condition
First matching element from array with null values
First matching element from array with complex condition
First matching element from map
First matching element from map with numeric condition
First matching element from nested structure
First matching element with no matches
First matching element from empty array
First matching element from scalar node
First matching element from null node
First matching element with string condition
First matching element with length condition
First matching element from array of strings
First matching element from array of numbers
First element with no filter from array
First element with no filter from array of maps
Last updated