Skip to content

Kirby 6.0.0

V::accepted()

Valid: 'yes' | true | 1 | 'on'

V::accepted(mixed $value): bool

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

bool

Parent class

Kirby\Toolkit\V