is-empty for filters

Check for empty values.

Signature

> is-empty {flags} ...rest

Parameters

  • ...rest: The names of the columns to check emptiness.

Input/output types:

inputoutput
anybool

Examples

Check if a string is empty

> '' | is-empty
true

Check if a list is empty

> [] | is-empty
true

Check if more than one column are empty

> [[meal size]; [arepa small] [taco '']] | is-empty meal size
false