Category: Language-Data types
Superclass: Boolean
I represent truth and justice in the world. My motto is "semper veritatis".

Method category index

basic (instance)
C hacks (instance)
printing (instance)

basic (instance)

& aBoolean
We are true -- anded with anything, we always answer the other operand

and: aBlock

We are true -- anded with anything, we always answer the other operand, so evaluate aBlock

eqv: aBoolean

Answer whether the receiver and aBoolean represent the same boolean value

ifFalse: falseBlock

We are true -- answer nil

ifFalse: falseBlock ifTrue: trueBlock

We are true -- evaluate trueBlock

ifTrue: trueBlock

We are true -- evaluate trueBlock

ifTrue: trueBlock ifFalse: falseBlock

We are true -- evaluate trueBlock

not

We are true -- answer false

or: aBlock

We are true -- ored with anything, we always answer true

xor: aBoolean

Answer whether the receiver and aBoolean represent different boolean values

| aBoolean

We are true -- ored with anything, we always answer true

top


C hacks (instance)

asCBooleanValue
Answer `1'.

top


printing (instance)

printOn: aStream
Print a representation of the receiver on aStream

top