or method

bool Function() or(
  1. bool predicate()
)

Compose using || this function with predicate.

Implementation

bool Function() or(bool Function() predicate) => () => this() || predicate();