mirror of
https://github.com/nushell/nushell.git
synced 2024-12-23 23:49:44 +01:00
26 lines
376 B
Markdown
26 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
|
|
```
|