WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

OrderCountRuleProcessor::process() public WC 1.0

Process the rule.

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

No Hooks.

Return

true|false. Whether the rule passes or not.

Usage

$OrderCountRuleProcessor = new OrderCountRuleProcessor();
$OrderCountRuleProcessor->process( $rule, $stored_state );
$rule(object) (required)
The rule to process.
$stored_state(object) (required)
Stored state.

Code of OrderCountRuleProcessor::process() WC 5.3.0

<?php
public function process( $rule, $stored_state ) {
	$count = $this->orders_provider->get_order_count();

	return ComparisonOperation::compare(
		$count,
		$rule->value,
		$rule->operation
	);
}