Skip to content

Kirby 6.0.0

$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

Parent class

Kirby\Cms\File