nushell/docs/commands/prepend.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

379 B

title layout version
prepend command 0.59.0

Prepend a row to the table.

Signature

> prepend (row)

Parameters

  • row: the row to prepend

Examples

Prepend one Int item

> [1,2,3,4] | prepend 0

Prepend two Int items

> [2,3,4] | prepend [0,1]

Prepend Ints and Strings

> [2,nu,4,shell] | prepend [0,1,rocks]