Automattic\WooCommerce\StoreApi\Routes\V1\Agentic\Messages

MessageError::is_errorpublicWC 1.0

Check if the message is an error.

Method of the class: MessageError{}

No Hooks.

Returns

bool. True if the message is an error, false otherwise.

Usage

$MessageError = new MessageError();
$MessageError->is_error(): bool;

MessageError::is_error() code WC 11.0.1

public function is_error(): bool {
	return true;
}