Predicates

Predicates are logical expressions that are enclosed by slashes. The action code is run if the expression evaluates to a true value when a probe fires. You can have the same probe used with different predicates and different action blocks. Clauses are executed in the order they appear in the source file.

Get Advanced Mac OS X Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.