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



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

Defined in: [src/registries/RegisteredQuests.ts:31](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/registries/RegisteredQuests.ts#L31)

Get a quest by its id.

## Parameters [#parameters]

### id [#id]

`string`

The id of the quest.

## Returns [#returns]

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

The quest or undefined if not found.
