wrap for filters

Wrap the value into a column.

Signature

> wrap (name)

Parameters

  • name: the name of the column

Examples

Wrap a list into a table with a given column name

> [1 2 3] | wrap num
╭───┬─────╮
│ # │ num │
├───┼─────┤
│ 01 │
│ 12 │
│ 23 │
╰───┴─────╯

Wrap a range into a table with a given column name

> 1..3 | wrap num
╭───┬─────╮
│ # │ num │
├───┼─────┤
│ 01 │
│ 12 │
│ 23 │
╰───┴─────╯