realized_dist
R/realized_dist.R
is_realized_dist.Rd
Test whether an object is a realized_dist.
is_realized_dist(x)
The object to test.
TRUE if x inherits from "realized_dist", FALSE otherwise.
TRUE
x
"realized_dist"
FALSE
# \donttest{ rd <- realize(normal(0, 1), n = 100) is_realized_dist(rd) # TRUE #> [1] TRUE # } is_realized_dist(normal(0, 1)) # FALSE #> [1] FALSE