f::is
Checks if a file is of a certain type
f::is($file, $value)
Parameters
$file (string)
Full path to the file
$value (string)
An extension or mime type
Return values
boolean