MimeType::isText(): bool

In this article

Checks if this is a text MIME type.

Return

bool True if this is a text type.

Source

public function isText(): bool
{
    return $this->isType('text');
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.