# 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/2a388160e173dbee4577b96ebd63be923d890899/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.
