Test whether an object is a chi_squared.

is_chi_squared(x)

Arguments

x

The object to test

Value

Logical; TRUE if x inherits from chi_squared

Examples

is_chi_squared(chi_squared(3))
#> [1] TRUE
is_chi_squared(normal(0, 1))
#> [1] FALSE