R/distribution_class.R
is.Distribution.Rd
Test if object is a Distribution
is.Distribution(object)
An R object.
TRUE if object is a Distribution, FALSE otherwise.
TRUE
object
FALSE
is.Distribution(dist_dirac()) #> [1] TRUE