hasClaim
Check if a credential has a specific claim.
Example:
if (credential.hasClaim("email")) {
println("Credential contains email claim")
}Content copied to clipboard
Return
True if the credential subject contains the claim
Parameters
key
The claim key to check for