check if the object is of dive class

is.dive(x)

Arguments

x

any R object

Value

TRUE or FALSE

Author

Jaunatre Maxime <maxime.jaunatre@yahoo.fr>

Examples

d <- dive(20,40) is.dive(d)
#> [1] TRUE
is.dive('dive')
#> [1] FALSE