Test whether an object is a weibull_dist.

is_weibull_dist(x)

Arguments

x

The object to test.

Value

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

Examples

is_weibull_dist(weibull_dist(2, 3))
#> [1] TRUE
is_weibull_dist(normal(0, 1))
#> [1] FALSE