Skip to content

Kirby 6.0.0

V::integer()

Checks for a valid integer

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

Parameters

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

Return type

bool

Parent class

Kirby\Toolkit\V