ScopingFunctions<T extends Object?> extension

on
  • T

Methods

also(void block(T e)) → T

Available on T, provided by the ScopingFunctions extension

Calls the specified function block with this value as its argument and returns this value.
let<R>(R block(T e)) → R

Available on T, provided by the ScopingFunctions extension

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