recursive_all: Standard logical functions implemented by folding

recursive_allR Documentation

Standard logical functions implemented by folding

Description

Standard logical functions implemented by folding

Usage

recursive_all(x)

recursive_any(x)

recursive_none(x)

Arguments

x

A logical vector.

Details

Functions leveraging either fold right or fold left.

Examples

library(functionalPlayground)

x <- c(TRUE, TRUE, FALSE, FALSE)
recursive_all(x)
recursive_any(x)
recursive_none(x)

gmcmacran/functional_playground documentation built on Aug. 5, 2024, 7:40 a.m.