Filter Operator
Filters an array (or map values) by the expression given. Equivalent to doing map(select(exp))
.
Filter array
Given a sample.yml file of:
then
will output
Filter map values
Given a sample.yml file of:
then
will output
Last updated