WordPress\AiClient\Files\DTO

File::isTextpublicWP 0.1.0

Checks if the file is text.

Метод класса: File{}

Хуков нет.

Возвращает

bool. True if the file is text.

Использование

$File = new File();
$File->isText(): bool;

Список изменений

С версии 0.1.0 Введена.

Код File::isText() WP 7.1

public function isText(): bool
{
    return $this->mimeType->isText();
}