Skip to content

Commit

Permalink
checking not contains on map
Browse files Browse the repository at this point in the history
  • Loading branch information
Crosson David committed May 12, 2016
1 parent 711a3c4 commit 38c5c13
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/resources/KB-People.drl
Expand Up @@ -25,6 +25,16 @@ rule "who has brown hairs"
logger.info($name+" has brown hairs")
end

// --------------------------------------------------------------

rule "who has unknown colored hairs"
when
Someone(attributes not contains "hairs", $name:name)
then
logger.info($name+" has unknown colored hairs")
end


// --------------------------------------------------------------

rule "people cars"
Expand Down

0 comments on commit 38c5c13

Please sign in to comment.