GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  JE::BOOLEAN (3)

.ds Aq ’

NAME

JE::Boolean - JavaScript boolean value

CONTENTS

SYNOPSIS



  use 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::Boolean



DESCRIPTION

This 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 ALSO

JE
JE::Types
JE::Object::Boolean
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 JE::BOOLEAN (3) 2014-10-20

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.