nushell/docs/commands/dfr_all-true.md

26 lines
379 B
Markdown
Raw Normal View History

---
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
```