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



\> **add**(...`locations`): `void`

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

Save a location in the registered locations. If the location already exists, it will be overwritten.

## Parameters [#parameters]

### locations [#locations]

...([`LocationInterface`](/nqtr/index/interfaces/LocationInterface) | [`LocationInterface`](/nqtr/index/interfaces/LocationInterface)\[])\[]

The location to save.

## Returns [#returns]

`void`
