Returns TRUE if x is an ALTREP object backed by shared memory
(created by share() or map_shared()), FALSE otherwise.
Examples
x <- 1:100
y <- share(x)
is_shared(y)
#> [1] TRUE
is_shared(x)
#> [1] FALSE
Returns TRUE if x is an ALTREP object backed by shared memory
(created by share() or map_shared()), FALSE otherwise.
x <- 1:100
y <- share(x)
is_shared(y)
#> [1] TRUE
is_shared(x)
#> [1] FALSE