Tests whether an object inherits from the Bioenergetic class.
Examples
bio <- Bioenergetic(
species_params = list(
consumption = list(CEQ = 1, CA = 0.303, CB = -0.275, CQ = 0.06)
),
species_info = list(common_name = "Example fish")
)
#> Bioenergetic object created for: Example fish
is.Bioenergetic(bio)
#> [1] TRUE
is.Bioenergetic(list())
#> [1] FALSE
