![]() |
![]()
| ![]() |
![]()
NAMEData::Object::BooleanABSTRACTBoolean Class for Perl 5SYNOPSISpackage main; use Data::Object::Boolean; my $bool = Data::Object::Boolean->new; # false DESCRIPTIONThis package provides functions and representation for boolean values.INHERITSThis package inherits behaviors from:Data::Object::Kind LIBRARIESThis package uses type constraints from:Data::Object::Types FUNCTIONSThis package implements the following functions:falseFalse() : Object The False method returns a boolean object representing false.
isfalseIsFalse(Maybe[Any] $arg) : Object The IsFalse method returns a boolean object representing false if no arugments are passed, otherwise this function will return a boolean object based on the argument provided.
istrueIsTrue() : Object The IsTrue method returns a boolean object representing truth if no arugments are passed, otherwise this function will return a boolean object based on the argument provided.
to_jsonTO_JSON(Any $arg) : Ref['SCALAR'] The TO_JSON method returns a scalar ref representing truthiness or falsiness based on the arguments passed, this function is commonly used by JSON encoders and instructs them on how they should represent the value.
trueTrue() : Object The True method returns a boolean object representing truth.
typeType() : Str The Type method returns either "True" or "False" based on the truthiness or falsiness of the argument provided.
METHODSThis package implements the following methods:newnew(Maybe[Any] $arg) : Object The new method returns a boolean object based on the value of the argument provided.
AUTHORAl Newkirk, "awncorp@cpan.org"LICENSECopyright (C) 2011-2019, Al Newkirk, et al.This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file" <https://github.com/iamalnewkirk/data-object/blob/master/LICENSE>. PROJECTWiki <https://github.com/iamalnewkirk/data-object/wiki>Project <https://github.com/iamalnewkirk/data-object> Initiatives <https://github.com/iamalnewkirk/data-object/projects> Milestones <https://github.com/iamalnewkirk/data-object/milestones> Contributing <https://github.com/iamalnewkirk/data-object/blob/master/CONTRIBUTE.md> Issues <https://github.com/iamalnewkirk/data-object/issues>
|