call method

  1. @nonVirtual
bool call(
  1. T candidate
)

Evaluates this spec for candidate.

This is equivalent to calling isSatisfiedBy, and allows a spec to be used as a function.

Implementation

@nonVirtual
bool call(T candidate) => isSatisfiedBy(candidate);