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