is_chr_ascii: Test that an Object is ACSCII Character Encoded

Description Usage Arguments Value

View source: R/is_chr_ascii.R

Description

is_chr_ascii() tests whether an atomic vector or data frame is entirely an ASCII-encoded character.

Usage

1
2
3
4
5
6
7
is_chr_ascii(x, na_rm = FALSE)

## S3 method for class 'data.frame'
is_chr_ascii(x, na_rm = FALSE)

## Default S3 method:
is_chr_ascii(x, na_rm = FALSE)

Arguments

x

An object to test

na_rm

Should missing values be removed for testing? If FALSE, any missing values will return NA

Value

TRUE if the object is ASCII character, NA if it includes missing values and na_rm = FALSE, otherwise FALSE


jesse-smith/covidsms documentation built on Dec. 25, 2021, 4:24 a.m.