Category: Language-Data types
Superclass: Object
I have two instances in the Smalltalk system: true and false. I provide methods that are conditional on boolean values, such as conditional execution and loops, and conditional testing, such as conditional and and conditional or. I should say that I appear to provide those operations; my subclasses True and False actually provide those operations.

Method category index

testing (class)
basic (instance)
C hacks (instance)
overriding (instance)
storing (instance)

testing (class)

isIdentity
Answer whether x = y implies x == y for instances of the receiver

isImmediate

Answer whether, if x is an instance of the receiver, x copy == x

top


basic (instance)

& aBoolean
This method's functionality should be implemented by subclasses of Boolean

and: aBlock

This method's functionality should be implemented by subclasses of Boolean

eqv: aBoolean

This method's functionality should be implemented by subclasses of Boolean

ifFalse: falseBlock

This method's functionality should be implemented by subclasses of Boolean

ifFalse: falseBlock ifTrue: trueBlock

This method's functionality should be implemented by subclasses of Boolean

ifTrue: trueBlock

This method's functionality should be implemented by subclasses of Boolean

ifTrue: trueBlock ifFalse: falseBlock

This method's functionality should be implemented by subclasses of Boolean

not

This method's functionality should be implemented by subclasses of Boolean

or: aBlock

This method's functionality should be implemented by subclasses of Boolean

xor: aBoolean

This method's functionality should be implemented by subclasses of Boolean

| aBoolean

This method's functionality should be implemented by subclasses of Boolean

top


C hacks (instance)

asCBooleanValue
This method's functionality should be implemented by subclasses of Boolean

top


overriding (instance)

deepCopy
Answer the receiver.

shallowCopy

Answer the receiver.

top


storing (instance)

isLiteralObject
Answer whether the receiver is expressible as a Smalltalk literal.

storeLiteralOn: aStream

Store on aStream some Smalltalk code which compiles to the receiver

storeOn: aStream

Store on aStream some Smalltalk code which compiles to the receiver

top