and method

bool Function() and(
  1. bool predicate()
)

Compose using && this function with predicate.

Implementation

bool Function() and(bool Function() predicate) => () => this() && predicate();