Documentation
    Preparing search index...

    Function isHex

    • Whether value is a lowercase hex string of exactly length characters.

      Parameters

      • value: unknown

        Candidate.

      • length: number

        Expected length (64 for keys and ids).

      Returns value is string

      Type guard result.

      isHex(MOCK_ACCOUNTS[0].pubkey, 64) === true;