Test if object is polygon_df or NULL
Examples
df <- create_polygon_df(x = c(0, 0, 1, 1), y = c(0, 1, 1, 0))
is_polygon_df(df)
#> [1] TRUE
Test if object is polygon_df or NULL
df <- create_polygon_df(x = c(0, 0, 1, 1), y = c(0, 1, 1, 0))
is_polygon_df(df)
#> [1] TRUE