x is an exponential object.R/exponential.R
is_exponential.RdFunction to determine whether an object x is an exponential object.
is_exponential(x)Logical; TRUE if x is an exponential.
is_exponential(exponential(1))
#> [1] TRUE
is_exponential(normal(0, 1))
#> [1] FALSE