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