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

true|false. True if the message is an error, false otherwise.

Usage

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

MessageError::is_error() code WC 10.9.4

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