/// Return whether the first version is equal to the second
/// @param {String} $v1
/// @param {String} $v2
/// @return {Boolean}
/// @example scss
///   $eq: eq('1.2.3', '3.2.1');
///   -> false
///   $eq: eq('1.2.3', '1.2.3');
///   -> true
///   $eq: eq('1.2.3', '0.1.2');
///   -> false
@function eq($v1, $v2) {
  $v1: clean($v1);
  $v2: clean($v2);

  @return (
    major($v1) == major($v2) and
    minor($v1) == minor($v2) and
    patch($v1) == patch($v2)
  );
}
