https://kotlinlang.org logo
s

sam

01/21/2019, 5:21 AM
And this infix function can either throw an AssertionError if the subject is indeed null, or just not execute the closure (could support both variants)