F::is()
Checks if a file is of a certain type
Parameters
Name | Type | Default | Description |
---|---|---|---|
$file * | string |
– | Full path to the file |
$value * | string |
– | An extension or mime type |
Return type
bool
Checks if a file is of a certain type
Name | Type | Default | Description |
---|---|---|---|
$file * | string |
– | Full path to the file |
$value * | string |
– | An extension or mime type |
bool