moxlib/lib/math.dart

5 lines
112 B
Dart

/// A mathematical implication between [a] and [b] (a -> b);
bool implies(bool a, bool b) {
return !a || b;
}