powered by
x
dist
Function to determine whether an object x is a dist object.
is_dist(x)
Logical indicating whether x is a dist object.
The object to test
is_dist(normal(0, 1)) # TRUE is_dist(42) # FALSE
Run the code above in your browser using DataLab