Function: isDidOc()
function isDidOc(value: unknown): value is `did:oc:${string}`;
Defined in: identifiers.ts:15 (opens in a new tab)
Is value a did:oc: did:oc: and 32 lowercase hex digits, with nothing
before or after it? Upper case, surrounding space and a trailing newline are
all refused; trim or lower-case first only where you mean to.
ParametersLink to this section
| Parameter | Type |
|---|---|
value | unknown |
ReturnsLink to this section
value is `did:oc:${string}`