Data-Object-Types
view release on metacpan or search on metacpan
lib/Data/Object/Types/Keywords.pm view on Meta::CPAN
=head1 FUNCTIONS
This package implements the following functions:
=cut
=head2 is_all_of
is_all_of(CodeRef @checks) : CodeRef
The is_all_of function accepts one or more callbacks and returns truthy if all
of the callbacks return truthy.
=over 4
=item is_all_of example #1
package Test::Library::HasAllOf;
use Data::Object::Types::Keywords;
use base 'Data::Object::Types::Library';
lib/Data/Object/Types/Keywords.pm view on Meta::CPAN
$validation
=back
=cut
=head2 is_any_of
is_any_of(CodeRef @checks) : CodeRef
The is_any_of function accepts one or more callbacks and returns truthy if any
of the callbacks return truthy.
=over 4
=item is_any_of example #1
package Test::Library::HasAnyOf;
use Data::Object::Types::Keywords;
use base 'Data::Object::Types::Library';
lib/Data/Object/Types/Keywords.pm view on Meta::CPAN
$validation
=back
=cut
=head2 is_one_of
is_one_of(CodeRef @checks) : CodeRef
The is_one_of function accepts one or more callbacks and returns truthy if
only one of the callbacks return truthy.
=over 4
=item is_one_of example #1
package Test::Library::HasOneOf;
use Data::Object::Types::Keywords;
use base 'Data::Object::Types::Library';
t/Data_Object_Types_Keywords.t view on Meta::CPAN
# union
# via
# where
"Test::Library::Exports"
=cut
=function is_any_of
The is_any_of function accepts one or more callbacks and returns truthy if any
of the callbacks return truthy.
=signature is_any_of
is_any_of(CodeRef @checks) : CodeRef
=example-1 is_any_of
package Test::Library::HasAnyOf;
use Data::Object::Types::Keywords;
t/Data_Object_Types_Keywords.t view on Meta::CPAN
validation => $validation,
parent => 'Object'
};
$validation
=cut
=function is_all_of
The is_all_of function accepts one or more callbacks and returns truthy if all
of the callbacks return truthy.
=signature is_all_of
is_all_of(CodeRef @checks) : CodeRef
=example-1 is_all_of
package Test::Library::HasAllOf;
use Data::Object::Types::Keywords;
t/Data_Object_Types_Keywords.t view on Meta::CPAN
validation => $validation,
parent => 'Object'
};
$validation
=cut
=function is_one_of
The is_one_of function accepts one or more callbacks and returns truthy if
only one of the callbacks return truthy.
=signature is_one_of
is_one_of(CodeRef @checks) : CodeRef
=example-1 is_one_of
package Test::Library::HasOneOf;
use Data::Object::Types::Keywords;
( run in 0.950 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )