some: some

View source: R/optional.R

someR Documentation

some

Description

Check if a optional object equals none

Usage

some(arg)

Arguments

arg

The variable to check existence

Value

TRUE if arg is an optional variable and if it is not none, else returns FALSE

See Also

option(), none a <- option(1) some(a) ## [1] TRUE b <- none some(b) ## [1] FALSE


optional documentation built on April 28, 2022, 1:07 a.m.