[Boolean] ifTrue: [block] | Manual

[Boolean] ifTrue: [block]

Executes a block of code if the value of the boolean object is True.

 (some expression) ifTrue: { ... }.

 You can also use ifFalse and ifTrue with other objects because the
 Object instance also responds to these messages.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.