has_phone_numbers {detector} | R Documentation |
Test if a character vector has any phone numbers.
Description
Test if a character vector has any phone numbers.
Usage
has_phone_numbers(.x)
Arguments
.x |
A character vector. |
Value
A logical value indicating if that string has any phone numbers.
Examples
# Examples
has_phone_numbers("hello") # FALSE
has_phone_numbers(65884) # FALSE
has_phone_numbers("111-333-5555") # TRUE
has_phone_numbers(1113335555) # TRUE
[Package detector version 0.1.0 Index]