WordPress\AiClient\Files\DTO
File::isAudio
Checks if the file is audio.
Method of the class: File{}
No Hooks.
Returns
true|false. True if the file is audio.
Usage
$File = new File(); $File->isAudio(): bool;
Changelog
| Since 0.1.0 | Introduced. |
File::isAudio() File::isAudio code WP 7.0
public function isAudio(): bool
{
return $this->mimeType->isAudio();
}