detect: aBlock ifOne: presentBlock ifNone: noneBlock
�� �� �� �� | result |
�� �� �� �� result := self detect: aBlock ifNone: [nil].
�� �� �� �� ^ result isNil
�� �� �� �� �� �� �� �� ifTrue: [ noneBlock value ]
�� �� �� �� �� �� �� �� ifFalse: [ presentBlock value: result ]
>From CollectionExtensions in
MCSmalltalkhubRepository
�� �� �� �� owner: 'Moose'
�� �� �� �� project: 'CollectionExtensions'
�� �� �� �� user: ''
�� �� �� �� password: ''