NAME

Data::Object::Type::Array

ABSTRACT

Data-Object Array Type Constraint

SYNOPSIS

  package App::Type::Library;

  use Type::Library -base;

  use Data::Object::Type::Array;

  register Data::Object::Type::Array;

  1;

DESCRIPTION

Type constraint for validating Data::Object::Array objects. This type constraint is registered in the Data::Object::Config::Library type library.

METHODS

This package implements the following methods.

aliases

  aliases() : ArrayRef

The aliases method returns aliases to register in the type library.

aliases example
  my $aliases = $self->aliases();

coercions

  coercions() : ArrayRef

The coercions method returns coercions to configure on the type constraint.

coercions example
  my $coercions = $self->coercions();

explaination

  explaination(Object $arg1, Object $arg2, Str $arg3) : Any

The explaination method returns the explaination for the type check failure.

explaination example
  my $explaination = $self->explaination();

name

  name() : StrObject

The name method returns the name of the data type.

name example
  my $name = $self->name();

parameterize

  parameterize(Object $arg1, Object $arg2) : Num

The parameterize method returns truthy if parameterized type check is valid.

parameterize example
  my $parameterize = $self->parameterize();

parameterize_coercions

  parameterize(Object $arg1, Object $arg2) : Num

The parameterize_coercions method returns truthy if parameterized type check is valid.

parameterize_coercions example
  my $parameterize_coercions = $self->parameterize_coercions();

validation

  validation(Object $arg1) : NumObject

The validation method returns truthy if type check is valid.

validation example
  my $validation = $self->validation();