The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Input::Validator::Constraint::In - In constraint

SYNOPSIS

$validator->field('order')->in(1, 2, 3);

DESCRIPTION

Checks whether the value contains in the array provided.

METHODS

is_valid

Validates the constraint.

SEE ALSO

Input::Validator, Input::Constraint