nushell/docs/commands/prepend.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

380 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]