Functions
isVerifiableCredential
isVerifiableCredential(
credential
):credential is VerifiableCredential
Checks if an object is a VerifiableCredential
.
Parameters
Parameter | Type | Description |
---|---|---|
credential | VerifiableCredentialType | The credential object to check. |
Returns
credential is VerifiableCredential
true
if the object is a valid VerifiableCredential
, otherwise false
.