Skip to content

basalt / audit/src / assertAuditKeyId

Function: assertAuditKeyId() ​

> assertAuditKeyId(id): asserts id is string

Defined in: audit/src/chain.ts:142

Throws unless id matches AUDIT_KEY_ID_PATTERN.

Parameters ​

id ​

unknown

Returns ​

asserts id is string

Released under the MIT License.