<br>If the purpose of your constraint would be to test whether some Collection&lt;Object&gt; <i>contains any object of a certain type</i>, then, sorry: there is no such thing in Drools, not out of the box. <br><br>You could write a function, use some (static) Java method, or implement a constraint operator &quot;containsInstanceOf&quot; which would have a java.lang.Class object as its second argument.<br>
<br>-W<br>