R: Check if type string is of certain type.

isTypeString {ParamHelpers} | R Documentation

## Check if type string is of certain type.

### Description

`TRUE` iff the type string is a certain type, e.g. `isIntegerTypeString` checks if we have “integer” or “integervector”, and `isVectorTypeString` check if we have “*vector”.

### Usage

    isNumericTypeString(type, include.int = TRUE)

    isIntegerTypeString(type)

    isCharacterTypeString(type)

    isDiscreteTypeString(type, include.logical = TRUE)

    isLogicalTypeString(type)

    isVectorTypeString(type)

### Arguments

`type` | (`character(1)`) Type string.
`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.14 Index]