<@U10EJRH2L> interesting :slightly_smiling_face: S...
# announcements
a
@Ruckus interesting 🙂 Smalltalk does this: aBooleanCondition ifTrue: [do true stuff] ifFalse: [do false stuff]
m
amiracam: Ckeck out:
Copy code
students.takeIf { /* predicate */ }?.let { /* do sth */ }
students.takeUnless { /* predicate */ }?.let { /* do sth */ }
a
cool