ezIsSpecified: Check if a value is specified

View source: R/00defaults.R

ezIsSpecifiedR Documentation

Check if a value is specified

Description

A value is specified if it is not NULL, it is not an empty vector, empty list or empty string. If the value is a vector, the first element must be different from the empty string.

Usage

ezIsSpecified(x)

Arguments

x

usually a parameter to check.

Value

Returns FALSE or TRUE.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

ezIsSpecified(5)
ezIsSpecified(c("this","is"))
ezIsSpecified(c("","this isn't"))

uzh/ezRun documentation built on Dec. 26, 2024, 9:53 a.m.