Boolean
Standard Bindings
A boolean provides the following standard bindings:
returns | service | description |
Boolean | this & aBoolean | Strict And. Returns this and aBoolean; aBoolean is evaluated. |
Boolean | this | aBoolean | Strict Or. Returns this or aBoolean; aBoolean is evaluated. |
Boolean | this && aBoolean | TODO Lazy And. Returns this and aBoolean; aBoolean is evaluated only if this is false. |
Boolean | this || aBoolean | TODO Lazy Or. Returns this or aBoolean; aBoolean is evaluated only if this is true. |
Boolean | this == aBoolean | Equal. Returns true if this is equal to aBoolean, false otherwise. |
Boolean | this != aBoolean | Not Equal. Returns true if this is not equal to aBoolean, false otherwise. |
Boolean | ! this | Not. Returns true if this is false, false otherwise. |
Boolean | this.not() | Not. Returns true if this is false, false otherwise. |
Boolean | this.not() | Not. Returns true if this is false, false otherwise. |
Form | this.select(cases) | Selection. Returns case.true if this is true, returns case.false if this is false. |
JPiccola
In JPiccola, a boolean additionally provides the following bindings:
return kind | service | description |
Peer | peer | The peer object represented by this form. |
Class | this.getClass() | Returns the class of this. |