forked from extern/nushell
commands: any? all? (#3252)
* commands: any? all? We can check if `any` (or `all`) rows of tables match predicates. Small `all?` example: Given the following table with `services` running: ``` > echo [[status]; [UP] [UP]] ───┬──────── # │ status ───┼──────── 0 │ UP 1 │ UP ───┴──────── ``` We can ask if all services are UP, like so: ``` > echo [[status]; [UP] [UP]] | all? status == UP true ``` * Fix any? signature.
This commit is contained in:
committed by
GitHub
parent
2146ede15d
commit
e278ca61d1
@ -1,3 +1,5 @@
|
||||
mod all;
|
||||
mod any;
|
||||
mod append;
|
||||
mod cal;
|
||||
mod cd;
|
||||
|
Reference in New Issue
Block a user