predicate-attributes {arkhe}R Documentation

Attributes Predicates

Description

Usage

has_length(x, n = NULL)

is_empty(x)

Arguments

x

A vector to be tested.

n

A length-one numeric vector specifying the length to test x with. If NULL, returns TRUE if x has length greater than zero, and FALSE otherwise.

Value

A logical scalar.

See Also

Other predicates: is_scalar, predicate-data, predicate-matrix, predicate-names, predicate-numeric, predicate-trend, predicate-type


[Package arkhe version 1.9.0 Index]