> 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.4/api/_decorators_select_.md).

# @Select

[API](https://github.com/ngxs/store/tree/2b39eed60327c3d3f1081124783b49b13ba15fd7/docs/api/README.md) > ["decorators/select"](/v3.4/api/_decorators_select_.md)

## External module: "decorators/select"

### Index

#### Functions

* [Select](/v3.4/api/_decorators_select_.md#select)

### Functions

#### Select <a href="#select" id="select"></a>

▸ **Select**(selectorOrFeature?: `any`, ...paths: `string`*\[]*): `(Anonymous function)`

*Defined in* [*decorators/select.ts:24*](https://github.com/ngxs/store/blob/7d8137d/packages/store/src/decorators/select.ts#L24)

Decorator for selecting a slice of state from the store.

**Parameters:**

| Name                         | Type        |
| ---------------------------- | ----------- |
| `Optional` selectorOrFeature | `any`       |
| `Rest` paths                 | `string`\[] |

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