isFalse function

bool isFalse(
  1. bool x
)

Tests whether the given boolean argument x is false.

Useful as a predicate for filter-type higher-order functions.

[true, true, true, false, true].any(isFalse) // true

Implementation

bool isFalse(bool x) => !isTrue(x);