is_empty_string: Is a string equivalent to '""'

View source: R/predicates-and-shortcuts.r

is_empty_stringR Documentation

Is a string equivalent to ""

Description

Designed for use as a purr::keep or purrr::discard predicate (or any functional predicate taking a single object as a value).

Usage

is_empty_string(x)

Arguments

x

character vector

Details

Works as a standalone vectorized function equally as well.

Value

TRUE if x == ""

See Also

Other purr_predicates: is_zero_length()


hrbrmstr/hrbrmisc documentation built on May 1, 2023, 7:39 a.m.