Determine if the object is a valid Laplace distribution, as created by create_laplace_distr
Source: R/is_distr.R
is_laplace_distr.Rd
Determine if the object is a valid
Laplace distribution,
as created by create_laplace_distr
See also
use is_distr
to see if x is any
distribution
Examples
# TRUE
is_laplace_distr(create_laplace_distr())
#> [1] TRUE
# FALSE
is_laplace_distr(create_log_normal_distr())
#> [1] FALSE
is_laplace_distr(NA)
#> [1] FALSE
is_laplace_distr(NULL)
#> [1] FALSE
is_laplace_distr("nonsense")
#> [1] FALSE