Class Is

All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory, PreprocessablePredicateFactory

public final class Is extends AbstractSingleResultPredicate implements PreprocessablePredicateFactory
X is Y - evaluate arithmetic expression.

Firstly structure Y is evaluated as an arithmetic expression to give a number. Secondly an attempt is made to match the number to X. The goal succeeds or fails based on the match.