$file->isIdentical()
Checks if the given file is the exact same file as the one that already exists under the same name, template included
$file->isIdentical(File $file): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $filerequired | Kirby\Filesystem\File |
no default value |
Return type
bool