Skip to content

Kirby 5.1.1

$site->is()

Compares the current object with the given site object

$site->is($site): bool

Parameters

Name Type Default
$siterequired mixed no default value

Return type

bool

This method modifies the existing $site object it is applied to and returns it again.

Parent class

Kirby\Cms\Site