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



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

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

Get a location by its id.

## Parameters [#parameters]

### id [#id]

`string`

The id of the location.

## Returns [#returns]

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

The location or undefined if not found.
