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