Filter Operator
Filter array
- 1
- 2
- 3yq 'filter(. < 3)' sample.yml- 1
- 2Filter map values
c:
things: cool
frog: yes
d:
things: hot
frog: falseLast updated
- 1
- 2
- 3yq 'filter(. < 3)' sample.yml- 1
- 2c:
things: cool
frog: yes
d:
things: hot
frog: falseLast updated
yq 'filter(.things == "cool")' sample.yml- things: cool
frog: yes