R/ma_inherits_or.R

Defines functions ma_inherits_or

## File Name: ma_inherits_or.R
## File Version: 0.02

ma_inherits_or <- function(x, what)
{
    val <- FALSE
    for (ww in what){
        val <- val | inherits(x=x, what=ww)
    }
    return(val)
}

Try the miceadds package in your browser

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

miceadds documentation built on Jan. 7, 2023, 1:09 a.m.