WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

WCAdminActiveForRuleProcessor::process() public WC 1.0

Performs a comparison operation against the amount of time wc-admin has been active for in days.

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

No Hooks.

Return

true|false. The result of the operation.

Usage

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

Code of WCAdminActiveForRuleProcessor::process() WC 5.2.2

<?php
public function process( $rule, $stored_state ) {
	$active_for_seconds = $this->wcadmin_active_for_provider->get_wcadmin_active_for_in_seconds();
	$rule_seconds       = $rule->days * DAY_IN_SECONDS;

	return ComparisonOperation::compare(
		$active_for_seconds,
		$rule_seconds,
		$rule->operation
	);
}