2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-01-25 19:35:25 +00:00
nushell/docs/commands/reject.md
Justin Ma c0a1d18e3d
update , regenerate commands' docs and update make_docs script ()
* feat: update , regenerate commands' docs

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

452 B

title layout version
reject command 0.59.0

Remove the given columns from the table. If you want to remove rows, try 'drop'.

Signature

> reject ...rest

Parameters

  • ...rest: the names of columns to remove from the table

Examples

Lists the files in a directory without showing the modified column

> ls | reject modified

Reject the specified field in a record

> echo {a: 1, b: 2} | reject a