Skip to content

Kirby 4.5.0

$file->is()

Compares the current object with the given file object

$file->is(Kirby\Cms\File $file): bool

Parameters

Name Type Default
$file * Kirby\Cms\File

Return type

bool

Parent class

Kirby\Cms\File