some: some

Description Usage Arguments Value See Also

View source: R/optional.R

Description

Check if a optional object equals none

Usage

1
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 May 1, 2019, 9:14 p.m.