> For the complete documentation index, see [llms.txt](https://www.ngxs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.ngxs.io/v3.2/api/_selector_.md).

# Selector

[API](https://github.com/ngxs/store/tree/af0da5bab249b0cf937a1b3cc862faeeabdf145f/docs/api/README.md) > ["selector"](/v3.2/api/_selector_.md)

## External module: "selector"

### Index

#### Functions

* [Selector](/v3.2/api/_selector_.md#selector)

### Functions

#### Selector <a href="#selector" id="selector"></a>

▸ **Selector**(selectors?: `any`*\[]*): `(Anonymous function)`

*Defined in* [*selector.ts:9*](https://github.com/amcdnl/ngxs/blob/4ba1032/packages/store/src/selector.ts#L9)

Decorator for memoizing a state selector.

**Parameters:**

| Param                | Type     |
| -------------------- | -------- |
| `Optional` selectors | `any`\[] |

**Returns:** `(Anonymous function)`
