mirror of
https://github.com/nushell/nushell
synced 2025-01-15 22:54:16 +00:00
25 lines
376 B
Markdown
25 lines
376 B
Markdown
---
|
|
title: dfr all-true
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
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
|
|
```
|