Test whether an object is a gamma_dist.

is_gamma_dist(x)

Arguments

x

The object to test

Value

Logical; TRUE if x inherits from gamma_dist

Examples

is_gamma_dist(gamma_dist(2, 1))
#> [1] TRUE
is_gamma_dist(normal(0, 1))
#> [1] FALSE