The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MojoX::Validator::Constraint::Unique - Unique constraint

SYNOPSIS

    $validator->group(all_the_values_are_different => [qw/foo bar baz/])
      ->unique;

DESCRIPTION

Group constraint that validates that all the values are different.

METHODS

is_valid

Validates the constraint.

SEE ALSO

MojoX::Validator, MojoX::Constraint