moxlib/lib/math.dart

5 lines
112 B
Dart
Raw Normal View History

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