bapply: Wrapper to vapply that returns booleans

Description Usage Arguments Value Note See Also

View source: R/utils.R

Description

Wrapper to vapply for functions that return a boolean (logical scalar) value.

Usage

1
bapply(x, predicate, ...)

Arguments

x

A vector (atomic or list).

predicate

A predicate (function that returns a bool) to apply. elementwise to x.

...

Passed to vapply.

Value

A logical vector.

Note

USE.NAMES is set to TRUE

See Also

vapply.


assertive.base documentation built on Feb. 8, 2021, 9:06 a.m.