is_polygon_df: Test if object is polygon_df or NULL

View source: R/polygon_df.R

is_polygon_dfR Documentation

Test if object is polygon_df or NULL

Description

Test if object is polygon_df or NULL

Usage

is_polygon_df(x)

Arguments

x

object

Value

TRUE 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)

ggpattern documentation built on June 22, 2024, 10:53 a.m.