WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

RuleEvaluator::evaluate() public WC 1.0

Evaluate the given rules as an AND operation - return false early if a rule evaluates to false.

{} It's a method of the class: RuleEvaluator{}

No Hooks.

Return

true|false. The result of the operation.

Usage

$RuleEvaluator = new RuleEvaluator();
$RuleEvaluator->evaluate( $rules, $stored_state );
$rules(array|object) (required)
The rule or rules being processed.
$stored_state(object) (required)
Stored state.

Code of RuleEvaluator::evaluate() WC 5.2.2

<?php
public function evaluate( $rules, $stored_state ) {
	if ( ! is_array( $rules ) ) {
		$rules = array( $rules );
	}

	if ( 0 === count( $rules ) ) {
		return false;
	}

	foreach ( $rules as $rule ) {
		$processor        = $this->get_rule_processor->get_processor( $rule->type );
		$processor_result = $processor->process( $rule, $stored_state );

		if ( ! $processor_result ) {
			return false;
		}
	}

	return true;
}