WordPress\AiClient\Files\ValueObjects
MimeType::isImage
Checks if this is an image MIME type.
Method of the class: MimeType{}
No Hooks.
Returns
true|false. True if this is an image type.
Usage
$MimeType = new MimeType(); $MimeType->isImage(): bool;
Changelog
| Since 0.1.0 | Introduced. |
MimeType::isImage() MimeType::isImage code WP 7.0
public function isImage(): bool
{
return $this->isType('image');
}