IO Wallet SDK
    Preparing search index...

    Variable isItWalletEntityConfigurationClaimsVersionConst

    isItWalletEntityConfigurationClaimsVersion: <V extends ItWalletSpecsVersion>(
        claims: unknown,
        version: V,
    ) => claims is ItWalletEntityStatementClaimsByVersion<V> = isItWalletEntityStatementClaimsVersion

    Type Declaration

      • <V extends ItWalletSpecsVersion>(
            claims: unknown,
            version: V,
        ): claims is ItWalletEntityStatementClaimsByVersion<V>
      • Checks whether entity statement claims match a specific IT-Wallet metadata version.

        Claims without a metadata member are considered compatible after base schema validation.

        Type Parameters

        • V extends ItWalletSpecsVersion

        Parameters

        • claims: unknown

          Entity statement claims to inspect.

        • version: V

          IT-Wallet specification version to validate metadata against.

        Returns claims is ItWalletEntityStatementClaimsByVersion<V>

        True when the claims and optional metadata match the selected version.

        If the version is unsupported.