WordPress\AiClient\Files\ValueObjects

MimeType::isImage │ public │ WP 0.1.0

Checks if this is an image MIME type.

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

Хуков нет.

Возвращает

bool. True if this is an image type.

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

$MimeType = new MimeType();
$MimeType->isImage(): bool;

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

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

Код MimeType::isImage() WP 7.1.2

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