WordPress\AiClient\Files\DTO

File::isDocumentpublicWP 0.1.0

Checks if the file is a document.

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

Хуков нет.

Возвращает

true|false. True if the file is a document.

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

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

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

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

Код File::isDocument() WP 7.0

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