R/isfield.R

Defines functions isfield

# find if a structure has an element called field
isfield  <- function(structure, field){
  any( field %in% names(structure) )
} 

Try the mlxR package in your browser

Any scripts or data that you put into this service are public.

mlxR documentation built on Jan. 19, 2021, 5:06 p.m.