Linearly interpolate between two boolean.
bool? lerpBool(bool? a, bool? b, double t) => t < 0.5 ? a : b;