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