ScopeFunctionsForObject<T extends Object> extension

on
  • T

Methods

also(void operation(T self)) → T

Available on T, provided by the ScopeFunctionsForObject extension

Calls the specified function operation with this value as its argument and returns this value.
let<ReturnType>(ReturnType operation(T self)) → ReturnType

Available on T, provided by the ScopeFunctionsForObject extension

Calls the specified function operation with this value as its argument and returns its result.