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

Message::is_error │ public │ WC 1.0

Check if the message is an error.

Method of the class: Message{}

No Hooks.

Returns

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

Usage

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

Message::is_error() code WC 11.1.2

abstract public function is_error(): bool;