has_phone_numbers: Test if a character vector has any phone numbers.

Description Usage Arguments Value Examples

View source: R/phone_numbers.R

Description

Test if a character vector has any phone numbers.

Usage

1

Arguments

.x

A character vector.

Value

A logical value indicating if that string has any phone numbers.

Examples

1
2
3
4
5
# Examples
has_phone_numbers("hello") # FALSE
has_phone_numbers(65884) # FALSE
has_phone_numbers("111-333-5555") # TRUE
has_phone_numbers(1113335555) # TRUE

detector documentation built on May 29, 2017, 11:48 p.m.