1Mouse::Meta::TypeConstrUasienrt(C3o)ntributed Perl DocumMeonutsaet:i:oMneta::TypeConstraint(3)
2
3
4

NAME

6       Mouse::Meta::TypeConstraint - The Mouse Type Constraint metaclass
7

VERSION

9       This document describes Mouse version v2.5.10
10

DESCRIPTION

12       This class represents a type constraint, including built-in type
13       constraints, union type constraints, parameterizable/ parameterized
14       type constraints, as well as custom type constraints
15

METHODS

17       "Mouse::Meta::TypeConstraint->new(%options)"
18       "$constraint->name"
19       "$constraint->parent"
20       "$constraint->constraint"
21       "$constraint->has_coercion"
22       "$constraint->message"
23       "$constraint->is_a_type_of($name or $object)"
24       "$constraint->coerce($value)"
25       "$constraint->check($value)"
26       "$constraint->assert_valid($value)"
27       "$constraint->get_message($value)"
28       "$constraint->create_child_type(%options)"
29

SEE ALSO

31       Moose::Meta::TypeConstraint
32
33
34
35perl v5.34.0                      2021-07-22    Mouse::Meta::TypeConstraint(3)
Impressum