ChainIf<T> extension

Provides a chainIf extension method on all objects.

on
  • T

Methods

chainIf(bool shouldChain) → T?
Allows conditional method chaining based on a condition.