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