func (t Version) LimitedEqual(o Version) bool {
	if t.version[idxReleaseType] == common && o.version[idxReleaseType] > common {
		return t.sharesPrefixWith(o)
	}
	return signDelta(t.version, o.version, idxSpecifierType) == 0
}
// LimitedEqual returns true if two versions share the same: prefix,
// which is the "actual version", (pre-)release type, and (pre-)release version.
// The exception are patch-levels, which are always equal.
//
// Use this, for example, to tell a beta from a regular version;
// or to accept a patched version as regular version.
//
// A thing confusing but convention is to read this from right to left.
LimitedEqual returns true if two versions share the same: prefix,
which is the "actual version", (pre-)release type, and (pre-)release version.
The exception are patch-levels, which are always equal.

Use this, for example, to tell a beta from a regular version;
or to accept a patched version as regular version.

A thing confusing but convention is to read this from right to left.
// LimitedEqual returns true if two versions share the same : prefix // which is the " actual version " ( pre - ) release type and ( pre - ) release version . // The exception are patch - levels which are always equal . // // Use this for example to tell a beta from a regular version ; // or to accept a patched version as regular version . // // A thing confusing but convention is to read this from right to left .
func (t Version) LimitedEqual(o Version) bool {
	if t.version[idxReleaseType] == common && o.version[idxReleaseType] > common {
		return t.sharesPrefixWith(o)
	}
	return signDelta(t.version, o.version, idxSpecifierType) == 0
}
func ( t Version ) LimitedEqual ( o Version ) bool { if t . version [ idxReleaseType ] == common && o . version [ idxReleaseType ] > common { return t . sharesPrefixWith ( o ) } return signDelta ( t . version , o . version , idxSpecifierType ) == 0 }
LimitedEqual returns true if two versions share the same: prefix,
which is the "actual version", (pre-)release type, and (pre-)release version.
LimitedEqual returns true if two versions share the same : prefix which is the " actual version " ( pre - ) release type and ( pre - ) release version .