Helper that checks if distribution is "empty", i.e. if is defined over empty set of variables

is.empty(x, ...)

Arguments

x

distribution to be checked

...

further arguments passed to or from other methods

Value

logical value

Examples

d <- Distribution("test"); is.empty(d);
#> [1] TRUE