ScopeExtension<T> extension

on
  • T

Methods

also(void block(T it)) → T

Available on T, provided by the ScopeExtension extension

let<R>(R block(T it)) → R

Available on T, provided by the ScopeExtension extension

takeIf(bool condition(T it)) → T?

Available on T, provided by the ScopeExtension extension

takeUnless(bool condition(T it)) → T?

Available on T, provided by the ScopeExtension extension