WordPress\AiClient\Files\ValueObjects

MimeType::isAudiopublicWP 0.1.0

Checks if this is an audio MIME type.

Method of the class: MimeType{}

No Hooks.

Returns

true|false. 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.0

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