Query: je::boolean
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
JE::Boolean(3pm) User Contributed Perl Documentation JE::Boolean(3pm)NAMEJE::Boolean - JavaScript boolean valueSYNOPSISuse JE; use JE::Boolean; $j = JE->new; $js_true = new JE::Boolean $j, 1; $js_false = new JE::Boolean $j, 0; $js_true ->value; # returns 1 $js_false->value; # returns "" "$js_true"; # returns "true" $js_true->to_object; # returns a new JE::Object::BooleanDESCRIPTIONThis class implements JavaScript boolean values for JE. The difference between this and JE::Object::Boolean is that that module implements boolean objects, while this module implements the primitive values. The stringification and boolean operators are overloaded.SEE ALSOJE JE::Types JE::Object::Boolean perl v5.14.2 2012-03-18 JE::Boolean(3pm)