Skip to main content

Module types

Module types 

Source
Expand description

Type-checking builtins: is.null, is.na, is.numeric, etc.

Each function tests whether an R value belongs to a particular type or satisfies a type predicate, returning a logical scalar or vector.

Staticsยง

__BUILTIN_REG_BUILTIN_IS_ARRAY ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_ATOMIC ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_CALL ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_CHARACTER ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_DATA_FRAME ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_DOUBLE ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_ELEMENT ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_ENVIRONMENT ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_EXPRESSION ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_FACTOR ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_FALSE ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_FINITE ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_FUNCTION ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_INFINITE ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_INTEGER ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_LANGUAGE ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_LIST ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_LOGICAL ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_MATRIX ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_NA ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_NAN ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_NULL ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_NUMERIC ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_ORDERED ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_PAIRLIST ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_PRIMITIVE ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_RECURSIVE ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_SYMBOL ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_TRUE ๐Ÿ”’
__BUILTIN_REG_BUILTIN_IS_VECTOR ๐Ÿ”’

Functionsยง

builtin_is_array ๐Ÿ”’
Test if an object is an array.
builtin_is_atomic ๐Ÿ”’
Test if an object is atomic (vector or NULL).
builtin_is_call ๐Ÿ”’
Test if an object is a call (language object).
builtin_is_character ๐Ÿ”’
Test if an object is a character vector.
builtin_is_data_frame ๐Ÿ”’
Test if an object is a data frame.
builtin_is_double ๐Ÿ”’
Test if an object is a double (real-valued) vector.
builtin_is_element ๐Ÿ”’
Test set membership: is each element of el in table?
builtin_is_environment ๐Ÿ”’
Test if an object is an environment.
builtin_is_expression ๐Ÿ”’
Test if an object is an expression object.
builtin_is_factor ๐Ÿ”’
Test if an object is a factor.
builtin_is_false ๐Ÿ”’
Test if x is a single FALSE value.
builtin_is_finite ๐Ÿ”’
Test which elements are finite (not Inf, -Inf, NaN, or NA).
builtin_is_function ๐Ÿ”’
Test if an object is a function (closure or builtin).
builtin_is_infinite ๐Ÿ”’
Test which elements are infinite (Inf or -Inf).
builtin_is_integer ๐Ÿ”’
Test if an object is an integer vector.
builtin_is_language ๐Ÿ”’
Test if an object is a language object (unevaluated expression).
builtin_is_list ๐Ÿ”’
Test if an object is a list.
builtin_is_logical ๐Ÿ”’
Test if an object is a logical vector.
builtin_is_matrix ๐Ÿ”’
Test if an object is a matrix (has dim attribute of length 2).
builtin_is_na ๐Ÿ”’
Test which elements are NA (missing values).
builtin_is_nan ๐Ÿ”’
Test which elements are NaN (not-a-number).
builtin_is_null ๐Ÿ”’
Test if an object is NULL.
builtin_is_numeric ๐Ÿ”’
Test if an object is numeric (integer or double).
builtin_is_ordered ๐Ÿ”’
Test if an object is an ordered factor.
builtin_is_pairlist ๐Ÿ”’
Test if an object is a pairlist.
builtin_is_primitive ๐Ÿ”’
Test if an object is a primitive (builtin) function.
builtin_is_recursive ๐Ÿ”’
Test if an object is recursive (list, environment, or call/language object).
builtin_is_symbol ๐Ÿ”’
Test if an object is a symbol (name).
builtin_is_true ๐Ÿ”’
Test if x is a single TRUE value.
builtin_is_vector ๐Ÿ”’
Test if an object is a vector with no attributes other than names.