Home Explore Blog CI



nushell

lang-guide/chapters/filters/00_filters_overview.md
d44a7186718d20ad16528de6b3661450b898d48f5357a6d200000003000002ea
# Filters

A primary goal of Nushell is the ability to easily handle structured data in the pipeline. Nushell contains an extensive set of commands known as "filters" designed to meet these needs.

A sample of filter commands is listed in this Guide below. For the current list of commands categorized as filters, you can run:

```nu
help commands | where category == filters
```

## Filters vs. Flow Control Statements

While it's certainly possible to modify structured data using "traditional" flow control statements like `for` or `while`, filters are usually more convenient and (often far) more performant. See the [Variables section of The Book](/book/variables.html#choosing-between-mutable-and-immutable-variables) for more information.

Chunks
40aaf360 (1st chunk of `lang-guide/chapters/filters/00_filters_overview.md`)
Title: Filters in Nushell
Summary
Nushell prioritizes easy handling of structured data in pipelines using specialized commands called 'filters'. These filters offer a convenient and performant alternative to traditional flow control statements like 'for' or 'while' when modifying structured data. You can list all commands categorized as filters by running `help commands | where category == filters`.