R/util.R

Defines functions is_valid_property

Documented in is_valid_property

#' Is an property valid?
#'
#' Compates `property` against a list of known, valid "graph" properties
#' and returns `TRUE` if valid.
#'
#' @md
#' @param property property to compare
#' @export
is_valid_property <- function(property) { property %in% .valid_properties }
hrbrmstr/opengraph documentation built on May 19, 2019, 4:05 p.m.