Skip to content

Kirby 6.0.0

V::same()

Checks that the first value equals the second value

V::same(mixed $value, mixed $other, bool $strict = false): bool

Parameters

Name Type Default
$valuerequired mixed no default value
$otherrequired mixed no default value
$strict bool false

Return type

bool

Parent class

Kirby\Toolkit\V