also method

T also(
  1. dynamic func(
    1. T
    )
)

Kotlin-esque "operator" to execute func on this, but returning this.

Implementation

T also(Function(T) func) {
  func(this);
  return this;
}