Skip to contents

This will almost certainly return the same result as typeof(x). However, the author would be interested to know if it doesn't!

Usage

alt_type(x)

Arguments

x

An ALTREP object of any class

Value

The name of the fundamental vector type of that x is representing, as a character scalar. For example "integer" or "character".

Examples

alt_type(1:3)
#> [1] "integer"