is_1: Is this object the expected data type, and length one?

View source: R/utils_checkValue.R

is_1R Documentation

Is this object the expected data type, and length one?

Description

Is this object the expected data type, and length one?

Usage

is_1(x, dtype = c("numeric", "logical", "character"))

Arguments

x

The value to check

dtype

The data type. Default: "numeric". Also can be "logical" or "character"

Value

TRUE if x is dtype and length one.


fMRItools documentation built on April 12, 2025, 1:32 a.m.