match method

bool match(
  1. Version version
)

Prefer matches

Implementation

bool match(Version version) {
  return matches(version);
}