PackageDescription: Oooleans


Oooleans

Last published: March 4, 2008 by 'michael'

Defines 0 Classes
Extends 4 Classes


This package makes false, nil, 0, and empty collections act as 'false' and all other objects act as 'true', eg:

0 ifTrue: [self halt] ifFalse: [].
#() ifTrue: [self halt] ifFalse: [].
nil ifTrue: [self halt] ifFalse: [].
Object new ifTrue: [] ifFalse: [self halt].