NAME
Data::Object::Type::Code
ABSTRACT
Data-Object Code Type Constraint
SYNOPSIS
package App::Type::Library;
use Type::Library -base;
use Data::Object::Type::Code;
register Data::Object::Type::Code;
1;
DESCRIPTION
Type constraint for validating Data::Object::Code objects. This type constraint is registered in the Data::Object::Library type library.
METHODS
This package implements the following methods.
aliases
aliases() : ArrayRef
The aliases method returns aliases to register in the type library.
coercions
coercions() : ArrayRef
The coercions method returns coercions to configure on the type constraint.
name
name() : StrObject
The name method returns the name of the data type.
validation
validation(Object $arg1) : NumObject
The validation method returns truthy if type check is valid.