FilterOr
Examples
$ echo '[
{"label":"x","allow":true},
{"label":"y","allow":false},
{"label":"z","allow":false}
]' | dasel -r json 'all().filterOr(allow,equal(label,y))'
{
"allow": true,
"label": "x"
}
{
"allow": false,
"label": "y"
}Last updated