has_email_addresses: Test if a character vector has any e-mail addresses.

Description Usage Arguments Value Examples

View source: R/email_addresses.R

Description

Test if a character vector has any e-mail addresses.

Usage

1

Arguments

.x

A character vector.

Value

A logical value indicating if that string has any e-mail addresses.

Examples

1
2
3
# Examples
has_email_addresses("hello") # FALSE
has_email_addresses("[email protected]") # TRUE

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