Function to determine whether an object x is an normal object.

is_normal(x)

Arguments

x

The object to test

Value

Logical; TRUE if x is a normal.

Examples

is_normal(normal(0, 1))
#> [1] TRUE
is_normal(exponential(1))
#> [1] FALSE