# Function: has() (/nqtr/index/namespaces/RegisteredCommitments/functions/has)



\> **has**(`id`): `boolean`

Defined in: [src/registries/RegisteredCommitments.ts:66](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/registries/RegisteredCommitments.ts#L66)

Check if a commitment is registered.

## Parameters [#parameters]

### id [#id]

`string`

The id of the commitment.

## Returns [#returns]

`boolean`

True if the commitment is registered, false otherwise.
