isVcChain(chain): chain is VCChain

Checks if a string is a valid and supported chain for VCs.

Parameters

ParameterTypeDescription
chainstringThe chain string to check.

Returns

chain is VCChain

true if the string is a valid VCChain, otherwise false.

Defined in

verifiableCredentialsSDK/types/utils.ts:111