WordPress\AiClient\Files\ValueObjects

MimeType::isAudio │ public │ WP 0.1.0

Checks if this is an audio MIME type.

Method of the class: MimeType{}

No Hooks.

Returns

bool. True if this is an audio type.

Usage

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

Changelog

Since 0.1.0 Introduced.

MimeType::isAudio() code WP 7.1.2

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