is_zero_length: Is length 0

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

is_zero_lengthR Documentation

Is length 0

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_zero_length(x)

Arguments

x

vector

Details

Makes a broad assumption about x being a singluar object

Value

TRUE if x length is 0

See Also

Other purr_predicates: is_empty_string()


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