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