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

isType {ParamHelpers} | R 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)`]

[Package ParamHelpers version 1.11 Index]