nushell/docs/commands/all.md
Fernando Herrera dbcadbc12c moved folders
2022-02-07 19:23:12 +00:00

413 B

all?

Find if the table rows matches the condition.

Usage

> all? <condition> {flags} 

Parameters

  • <condition> the condition that must match

Flags

  • -h, --help: Display this help message

Examples

Find if services are running

> echo [[status]; [UP] [UP]] | all? status == UP

Check that all values are even

> echo [2 4 6 8] | all? ($it mod 2) == 0