R/tidyrisk_scenario.R
is_tidyrisk_scenario.Rd
This function returns TRUE for tidyrisk_scenario (or subclasses) and FALSE for all other objects.
TRUE
FALSE
is_tidyrisk_scenario(x)
An object
TRUE if the object inherits from the tidyrisk_scenario class.
tidyrisk_scenario