Evaluators are used to define conditions that determine whether a block of configuration should be included in the evaluated and merged configuration document.
Evaluators work on different aspects of the runtime experience, including:
- what is being observed
- who is observed it
- what URL is being looked at
- what objects are known about at the time (i.e. observables)
- what permissions and authorities the current user has over things that are being observed
There are many types of evaluators available.
Boolean evaluators assumed a
true which tests for the evaluator to return true. You can adjust this to test the opposite by setting