Skip to contents

Is this a guerrilla grid?

Usage

is_grid(x)

Arguments

x

any object

Value

TRUE or FALSE

Examples

is_grid(grid_spec(cbind(1:3, 1:3)))
#> [1] TRUE
is_grid(1:10)
#> [1] FALSE