lerpBool function

bool? lerpBool(
  1. bool? a,
  2. bool? b,
  3. double t
)

Implementation

bool? lerpBool(bool? a, bool? b, double t) => t < 0.5 ? a : b;