is_poisson_dist: Test whether an object is a 'poisson_dist'.

View source: R/poisson_dist.R

is_poisson_distR Documentation

Test whether an object is a poisson_dist.

Description

Test whether an object is a poisson_dist.

Usage

is_poisson_dist(x)

Arguments

x

The object to test.

Value

TRUE if x inherits from "poisson_dist", FALSE otherwise.

Examples

is_poisson_dist(poisson_dist(5))
is_poisson_dist(normal(0, 1))

algebraic.dist documentation built on Feb. 27, 2026, 5:06 p.m.