Automattic\WooCommerce\StoreApi\Routes\V1\Agentic\Messages
MessageError::is_error
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() MessageError::is error code WC 10.9.4
public function is_error(): bool {
return true;
}