Andrés N. Robalino
e278ca61d1
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.
2021-04-03 13:40:54 -05:00
..
2021-03-21 07:48:53 +13:00
2021-01-12 17:59:53 +13:00
2021-04-03 21:06:13 +13:00
2021-01-12 17:59:53 +13:00
2021-03-04 20:04:56 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-01-29 07:43:35 -06:00
2021-04-03 13:40:54 -05:00
2021-04-03 13:40:54 -05:00
2021-03-15 02:26:30 -05:00
2021-03-14 10:46:40 +13:00
2021-01-19 14:24:27 -06:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-01-13 08:27:54 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-03-14 10:46:40 +13:00
2021-02-03 07:19:38 -06:00
2021-03-26 21:26:57 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-01-12 17:59:53 +13:00
2021-02-10 15:31:12 +13:00
2021-03-14 10:46:40 +13:00
2021-03-14 10:46:40 +13:00
2021-03-14 10:46:40 +13:00
2021-03-31 19:52:39 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-04-03 13:40:54 -05:00
2021-03-14 10:46:40 +13:00
2021-03-14 15:13:31 +13:00
2021-01-12 17:59:53 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-03-26 21:26:57 +13:00
2021-01-12 17:59:53 +13:00
2021-01-12 17:59:53 +13:00
2021-02-23 13:29:07 -05:00
2021-02-22 06:56:34 -05:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-03-14 10:46:40 +13:00
2021-03-14 10:46:40 +13:00
2021-01-12 17:59:53 +13:00
2021-01-12 17:59:53 +13:00