NAME

Games::Go::AGA::DataObjects::Game - library of types and constraints for Games::Go::AGA

VERSION

version 0.152

SYNOPSIS

use Games::Go::AGA::DataObjects::Types qw( is_ID is_Rank ... );

Supported types are: is_ID string containing only word-like characters is_Rank like 5D, 3k, etc is_Rating decimal number from -100 to 20, excluding range from 1 to -1 is_Rank_or_Rating either a Rank or a Rating is_Handicap non-negative integer less than 100 is_Komi decimal number is_Winner b, B, w, W, or ? (black, white or unknown)

which all return true if the passed argument is valid, false otherwise.

Also provided are: isa_Int isa_CodeRef

SEE ALSO

Games::Go::AGA
Games::Go::AGA::DataObjects
Games::Go::AGA::Parse
Games::Go::AGA::Gtd

AUTHOR

Reid Augustin <reid@hellosix.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Reid Augustin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.