Skip to contents

Checks whether an object inherits from the FLStock class.

Usage

is.FLStock(x)

Arguments

x

An object to test

Value

A logical value, TRUE if x inherits from FLStock

See also

Author

FLR Team

Examples

data(ple4)
is.FLStock(ple4)
#> [1] TRUE
is.FLStock(stock.n(ple4))
#> [1] FALSE