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

Message::is_errorpublicWC 1.0

Check if the message is an error.

Method of the class: Message{}

No Hooks.

Returns

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

Usage

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

Message::is_error() code WC 10.7.0

abstract public function is_error(): bool;