# Function: get() (/jsdoc/nqtr/index/namespaces/RegisteredLocations/functions/get)



\> **get**(`id`): [`LocationInterface`](/jsdoc/nqtr/index/interfaces/LocationInterface) | `undefined`

Defined in: [src/registries/RegisteredLocations.ts:32](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/registries/RegisteredLocations.ts#L32)

Get a location by its id.

## Parameters [#parameters]

### id [#id]

`string`

The id of the location.

## Returns [#returns]

[`LocationInterface`](/jsdoc/nqtr/index/interfaces/LocationInterface) | `undefined`

The location or undefined if not found.
