Practic Passkey - v1.0.0
    Preparing search index...

    Function passkeyAddressNormalize

    • Bring an email or phone number to the one form an account is kept under: an email trimmed and lower-cased, a phone number without spaces, dashes, dots or brackets. Anything else is not an address.

      Parameters

      • input: string

        Address as typed.

      Returns PasskeyAddress | undefined

      The address and its kind, or undefined when it is neither an email nor an international phone number.