$image->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
Parent class
Kirby\Image\Image
inherited from Kirby\Filesystem\File