WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

StoredStateRuleProcessor::process() public WC 1.0

Performs a comparison operation against a value in the stored state object.

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

No Hooks.

Return

true|false. The result of the operation.

Usage

$StoredStateRuleProcessor = new StoredStateRuleProcessor();
$StoredStateRuleProcessor->process( $rule, $stored_state );
$rule(object) (required)
The rule being processed by this rule processor.
$stored_state(object) (required)
Stored state.

Code of StoredStateRuleProcessor::process() WC 5.3.0

<?php
public function process( $rule, $stored_state ) {
	if ( ! isset( $stored_state->{$rule->index} ) ) {
		return false;
	}

	return ComparisonOperation::compare(
		$stored_state->{$rule->index},
		$rule->value,
		$rule->operation
	);
}