Check if object is a native raster image

is_nativeraster(x)

Arguments

x

object to check

Value

logical. TRUE if object is a native raster image

Examples

is_nativeraster(mtcars)
#> [1] FALSE

nr <- nr_new(100, 100)
is_nativeraster(nr)
#> [1] TRUE