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

    Function isValidNumber

    • Simple validation check returning a boolean. This is a convenience wrapper around validate().

      Parameters

      • input: string

        The phone number string to validate

      • options: ParseOptions = {}

        Parsing options including default region

      Returns Promise<boolean>

      True if the number is valid, false otherwise