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