AnyExtension<T> extension

An extension which adds utilities for values of all types.

on
  • T

Methods

also(void f(T it)) → T

Available on T, provided by the AnyExtension extension

Returns this value after calling f with it.
let<R>(R f(T it)) → R

Available on T, provided by the AnyExtension extension

Returns the result of giving this value to f.