WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

BaseLocationCountryRuleProcessor::process() public WC 1.0

Performs a comparison operation against the base location - country.

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

No Hooks.

Return

true|false. The result of the operation.

Usage

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

Code of BaseLocationCountryRuleProcessor::process() WC 5.3.0

<?php
public function process( $rule, $stored_state ) {
	$base_location = wc_get_base_location();
	if ( ! $base_location ) {
		return false;
	}

	return ComparisonOperation::compare(
		$base_location['country'],
		$rule->value,
		$rule->operation
	);
}