ChainIf<T> extension

Provides a chainIf extension method on all objects.

on
  • T

Methods

chainIf(bool shouldChain) → T?

Available on T, provided by the ChainIf extension

Allows conditional method chaining based on a condition.