R/has_element_named.R

has_element_named <- function(object, name){
  !is.null(purrr::pluck(object, name))
}
jameslairdsmith/contractr documentation built on May 26, 2019, 9:32 a.m.