WordPress\AiClient\Files\DTO

File::isVideopublicWP 0.1.0

Checks if the file is a video.

Method of the class: File{}

No Hooks.

Returns

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

Usage

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

Changelog

Since 0.1.0 Introduced.

File::isVideo() code WP 7.0

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