is_1 {fMRItools}R 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.


[Package fMRItools version 0.4.7 Index]