> 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.3/api/_decorators_selector_.md).

# @Selector

[API](https://github.com/ngxs/store/tree/e13a495eea7136a407e166ef8808a988de180a4c/docs/api/README.md) > ["decorators/selector"](/v3.3/api/_decorators_selector_.md)

## External module: "decorators/selector"

### Index

#### Functions

* [Selector](/v3.3/api/_decorators_selector_.md#selector)

### Functions

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

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

*Defined in* [*decorators/selector.ts:6*](https://github.com/ngxs/store/blob/7d8137d/packages/store/src/decorators/selector.ts#L6)

Decorator for memoizing a state selector.

**Parameters:**

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

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