ObjectExtensions<T> extension
Object helpers (Kotlin-style scope functions).
- on
-
- T
Methods
-
also(
void block(T)) → T -
Available on T, provided by the ObjectExtensions extension
Runsblockwiththis, then returnsthis. -
let<
R> (R block(T)) → R -
Available on T, provided by the ObjectExtensions extension
Callsblockwiththisas argument and returns the result. -
run<
R> (R block(T)) → R -
Available on T, provided by the ObjectExtensions extension
Runsblockwiththisand returns the result (alias of let).