isType: Check parameter / parameter set contain ONLY a certain type.

isTypeR Documentation

Check parameter / parameter set contain ONLY a certain type.

Description

An empty param set is considered to be of all types.

Usage

isNumeric(par, include.int = TRUE)

isDiscrete(par, include.logical = TRUE)

isInteger(par)

isLogical(par)

isCharacter(par)

Arguments

par

(Param | ParamSet)
Parameter or parameter set.

include.int

(logical(1))
Are integers also considered to be numeric? Default is TRUE.

include.logical

(logical(1))
Are logicals also considered to be discrete? Default is TRUE.

Value

(logical(1))


ParamHelpers documentation built on July 4, 2022, 5:07 p.m.