chickadee » srfi-35 » condition-has-type?

condition-has-type? condition condition-typeprocedure

Condition-has-type? tests if condition condition belongs to condition type condition-type. It returns #t if any of condition 's types includes condition-type eitherdirectlyorasanancestorand #f otherwise.

It is an error if condition is not a condition, or if condition-type is not a condition type.