forked from extern/nushell
26 lines
379 B
Markdown
26 lines
379 B
Markdown
|
---
|
||
|
title: dfr all-true
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
Returns true if all values are true
|
||
|
|
||
|
## Signature
|
||
|
|
||
|
```> dfr all-true ```
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
Returns true if all values are true
|
||
|
```shell
|
||
|
> [$true $true $true] | dfr to-df | dfr all-true
|
||
|
```
|
||
|
|
||
|
Checks the result from a comparison
|
||
|
```shell
|
||
|
> let s = ([5 6 2 8] | dfr to-df);
|
||
|
let res = ($s > 9);
|
||
|
$res | dfr all-true
|
||
|
```
|