NAME

Thrift::Parser::Type::bool - bool type

USAGE

Stringification is overloaded to the values 'true' or 'false'.

When composing, the value doesn't matter; it will be evaluated in boolean context to determine the value here.

is_true

Returns 1 if is true, 0 otherwise.

is_false

Returns 1 if is false, 0 otherwise.

COPYRIGHT

Copyright (c) 2009 Eric Waters and XMission LLC (http://www.xmission.com/). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

AUTHOR

Eric Waters <ewaters@gmail.com>