Generic functions for determining whether a certain probability distribution is discrete or continuous, respectively.

## Arguments

- d
An object. The package provides methods for distribution objects such as those from

`Normal()`

or`Binomial()`

etc.- ...
Arguments passed to methods. Unevaluated arguments will generate a warning to catch mispellings or other possible errors.

## Value

A logical vector indicating whether the distribution(s) in `d`

is/are discrete or continuous, respectively.

## Details

The generic function `is_discrete`

is intended to return `TRUE`

for every distribution whose entire support is discrete and `FALSE`

otherwise. Analogously, `is_continuous`

is intended to return `TRUE`

for every distribution whose entire support is continuous and `FALSE`

otherwise. For mixed discrete-continuous distributions both methods should
return `FALSE`

.

Methods for both generics are provided for all `distribution`

classes
set up in this package.