dfr all-false
for dataframe
Returns true if all values are false.
Signature
> dfr all-false
Input/output types:
input | output |
---|---|
any | any |
Examples
Returns true if all values are false
> [false false false] | dfr into-df | dfr all-false
╭───┬───────────╮
│ # │ all_false │
├───┼───────────┤
│ 0 │ true │
╰───┴───────────╯
Checks the result from a comparison
> let s = ([5 6 2 10] | dfr into-df);
let res = ($s > 9);
$res | dfr all-false
╭───┬───────────╮
│ # │ all_false │
├───┼───────────┤
│ 0 │ false │
╰───┴───────────╯
Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe
flag