# Selector

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

## External module: "selector"

### Index

#### Functions

* [Selector](#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)`
