ts-phonenumber - v2.0.0
    Preparing search index...

    Type Alias MatchType

    MatchType:
        | "not_a_number"
        | "no_match"
        | "short_nsn_match"
        | "nsn_match"
        | "exact_match"

    Result types for phone number matching. Used by isNumberMatch() to indicate how closely two numbers match.

    • not_a_number: One or both numbers could not be parsed
    • no_match: The numbers are definitely different
    • short_nsn_match: One number is a suffix of the other
    • nsn_match: National numbers match, but country codes differ
    • exact_match: Numbers are identical