Repository navigation
table where value in column is-empty / is-not-empty #19525
DarioViva42
started this conversation in
General
Replies: 1 comment 4 replies
|
Here's another way ❯ [{key:"one",value:[]},{key:"two",value:[1,2]}] | where ($it.value | is-empty)
╭─#─┬─key─┬─────value──────╮
│ 0 │ one │ [list 0 items] │
╰───┴─────┴────────────────╯ |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
How can tables easily be filtered based on whether the value in a certain column contains an empty / non-empty list?
sadly only the last version works and i feel like the other options should also work. is there a reason why they don’t work?
All reactions