isTypeString: Check if type string is of certain type.

isTypeStringR 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))


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