is_scalar_numeric: Check is scalar type number

View source: R/class_functions.R

is_scalar_numericR Documentation

Check is scalar type number

Description

\lifecycle

questioning This function was moved from costmodelr. The use case is unclear and as such this function may be removed from a later version.

is_scalar_numeric() checks for a given type and whether the vector is "scalar", that is, of length 1.

Usage

is_scalar_numeric(x)

Arguments

x

object to be tested.

See Also

scalar-type-predicates


Technomics/costmisc documentation built on Nov. 12, 2024, 8:05 a.m.