Contents

predicate

A predicate to be tested when evaluating the rule.

Declaration

var predicate: NSPredicate { get }

Discussion

When the rule is evaluated, GameplayKit tests this predicate against the GKRuleSystem object evaluating the rule.

See Also

Evaluating a Rule