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

Description Usage Arguments Value

Description

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

Usage

1
2
3
4
5
6
7
8
9
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 March 26, 2020, 7:40 p.m.