DynamicExtension<T> extension

Extensions that apply to all objects.

on
  • T

Methods

also(dynamic fn(T)) → T

Available on T, provided by the DynamicExtension extension

Calls the provided function with the value of this as its argument and returns the this value.
let<R>(R fn(T)) → R

Available on T, provided by the DynamicExtension extension

Calls the provided function with the value of this as its argument and returns the result.