ScopeFunctionsForObject<T extends Object> extension
Methods
-
also(void operation(T self))
→ T
-
Calls the specified function
operation
with this
value as its argument and returns this
value.
-
let<ReturnType>(ReturnType operation(T self))
→ ReturnType
-
Calls the specified function
operation
with this
value as its argument and returns its result.