ScopingFunctions<T extends Object?> extension
Methods
-
also(void block(T e))
→ T
-
Calls the specified function
block
with this
value
as its argument and returns this
value.
-
let<R>(R block(T e))
→ R
-
Calls the specified function
block
with this
value
as its argument and returns its result.