WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

IsEcommerceRuleProcessor::validate() public WC 1.0

Validate the rule.

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

No Hooks.

Return

true|false. Pass/fail.

Usage

$IsEcommerceRuleProcessor = new IsEcommerceRuleProcessor();
$IsEcommerceRuleProcessor->validate( $rule );
$rule(object) (required)
The rule to validate.

Code of IsEcommerceRuleProcessor::validate() WC 5.3.0

<?php
public function validate( $rule ) {
	if ( ! isset( $rule->value ) ) {
		return false;
	}

	return true;
}