dfr all-true for dataframe

Returns true if all values are true.

WARNING

Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag

Signature

> dfr all-true {flags}

Input/output types:

inputoutput
anyany

Examples

Returns true if all values are true

> [true true true] | dfr into-df | dfr all-true
╭───┬──────────╮
 # │ all_true │
├───┼──────────┤
 0 true
╰───┴──────────╯

Checks the result from a comparison

> let s = ([5 6 2 8] | dfr into-df);
    let res = ($s > 9);
    $res | dfr all-true
╭───┬──────────╮
 # │ all_true │
├───┼──────────┤
 0 false
╰───┴──────────╯