True
True inherits from Boolean and defines no instance variables. It has no subclasses.
True is the class of the pseudo-variable 'true', representing truth and justice.
Methods defined in True:
Methods for converting:
Methods for flow control:
- and: block
- ifFalse: falseBlock
- ifFalse: falseBlock ifTrue: trueBlock
- ifTrue: trueBlock
- ifTrue: trueBlock ifFalse: falseBlock
- or: block
Methods for logic:
- & boolean
- | boolean
- not
- xor: boolean
Note that the argument is a direct value, not a block as with other logical messages.
Methods for printing:
Pocket Smalltalk Documentation