Skip to contents

Checks for wrapper object ALTREPs

Usage

is_wrapper(x)

Arguments

x

Any R object

Value

Logical scalar. TRUE if x is a wrapper ALTREP, otherwise FALSE

Examples

is_wrapper("5:1")
#> [1] FALSE
sort(5:1) |> is_wrapper()
#> [1] TRUE