Test whether an object is a lognormal.

is_lognormal(x)

Arguments

x

The object to test.

Value

TRUE if x inherits from "lognormal", FALSE otherwise.

Examples

is_lognormal(lognormal(0, 1))
#> [1] TRUE
is_lognormal(normal(0, 1))
#> [1] FALSE