sameVintage method

bool sameVintage(
  1. Vintage other
)

Returns true if value is the same as other's value.

As opposed to ==, this method does not compare the suffix.

Implementation

bool sameVintage(Vintage other) => value == other.value;