The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
NAME
    Test::TypeConstraints - testing whether some value is valid as
    (Moose|Mouse)::Meta::TypeConstraint

SYNOPSIS
      use Test::TypeConstraints qw(type_isa);

      type_isa($got, "ArrayRef[Int]", "type should be ArrayRef[Int]");

DESCRIPTION
    Test::TypeConstraints is for testing whether some value is valid as
    (Moose|Mouse)::Meta::TypeConstraint.

METHOD
  type_isa($got, $typename_or_type, $test_name, %options)
        $got is value for checking.
        $typename_or_type is a Classname or Mouse::Meta::TypeConstraint name or "Mouse::Meta::TypeConstraint" object or "Moose::Meta::TypeConstraint::Class" object.
        %options is Hash. value is followings:

   coerce: Bool
            try coercion when checking value.

  type_does($got, $rolename_or_role, $test_name, %options)
        $got is value for checking.
        $typename_or_type is a Classname or Mouse::Meta::TypeConstraint name or "Mouse::Meta::TypeConstraint" object or "Moose::Meta::TypeConstraint::Role" object.

        %options is Hash. value is followings:

   coerce: Bool
            try coercion when checking value.

AUTHOR
    Keiji Yoshimi <walf443 at gmail dot com>

THANKS TO
    gfx

    tokuhirom

SEE ALSO
    +<Mouse::Util::TypeConstraints>, +<Moose::Util::TypeConstraints>

LICENSE
    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.