
Test::deep::type provides the sub is_type to indicate that the data being tested must validate against the passed type. this is an actual type object, not a string name -- for example something provided via moosex::types, or a plain old coderef that returns a bool (such as what might be used in a moo type constraint).