Description Usage Arguments Value Examples
View source: R/phone_numbers.R
Strictly works for only US phone numbers.
1 | is_phone_number(.x)
|
.x |
A string or numeric vector. |
A logical value indicating if that string is a phone number.
1 2 3 4 5 | # Examples
is_phone_number("hello") # FALSE
is_phone_number(65884) # FALSE
is_phone_number("111-333-5555") # TRUE
is_phone_number(1113335555) # TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.