iya-sts
    Preparing search index...

    Variable matchesHashAsync

    matchesHashAsync: (presented: unknown, storedHash: unknown) => Promise<boolean> = ...

    Type Declaration

      • (presented: unknown, storedHash: unknown): Promise<boolean>
      • Checks a presented code against a stored hash without blocking the event loop.

        Parameters

        • presented: unknown

          the code presented

        • storedHash: unknown

          the stored hash

        Returns Promise<boolean>

        a promise of true when it matches