TRUE if the parameter set contains at least one parameter of the mentioned type x. Type x always subsumes x and x-vector.

hasDiscrete(par.set, include.logical = TRUE)

hasInteger(par.set)

hasLogical(par.set)

hasCharacter(par.set)

hasNumeric(par.set, include.int = TRUE)

## Arguments

par.set ParamSet Parameter set. (logical(1)) Are logicals also considered to be discrete? Default is TRUE. (logical(1)) Are integers also considered to be numeric? Default is TRUE.

## Value

logical(1)