Skip to contents

Predicate Length Equals 1

Usage

len_eq_one(x)

Arguments

x

<character> string

Value

<logical>

Examples

len_eq_one(c("XYZ"))
#> [1] TRUE