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



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

Defined in: [src/registries/RegisteredRooms.ts:41](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/registries/RegisteredRooms.ts#L41)

Get a room by its id.

## Parameters [#parameters]

### id [#id]

`string`

The id of the room.

## Returns [#returns]

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

The room or undefined if not found.
