media::is

Checks if a file is of a certain type

media::is($value)

Parameters

$value (string)
An extension or mime type

Return values

boolean