$file->is()
Compares the current object with the given file object
$file->is(Kirby\Cms\File $file): bool
Parameters
Name | Type | Default |
---|---|---|
$filerequired | Kirby\Cms\File |
no default value |
Return type
bool
This method modifies the existing $file
object it is applied to and returns it again.