Strictly works for only US phone numbers.
A string or numeric vector.
A logical value indicating if that string is a phone number.
is_phone_number("hello") # FALSE
is_phone_number(65884) # FALSE
is_phone_number("111-333-5555") # TRUE
is_phone_number(1113335555) # TRUE
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.