check if the object is of tank class

is.tank(x)

Arguments

x

any R object

Value

TRUE or FALSE

Author

Jaunatre Maxime <maxime.jaunatre@yahoo.fr>

Examples

t <- tank(12,200) is.tank(t)
#> [1] TRUE
is.tank('tank')
#> [1] FALSE