func Satisfies(aVersion, aRange string) (bool, error) {
	v, err := NewVersion([]byte(aVersion))
	if err != nil {
		return false, err
	}
	r, err := NewRange([]byte(aRange))
	if err != nil {
		return false, err
	}

	return r.IsSatisfiedBy(v), nil
}
// Satisfies is a convenience function for former NodeJS developers,
// and works on two strings.
//
// Please see Range's IsSatisfiedBy for details.
Satisfies is a convenience function for former NodeJS developers,
and works on two strings.

Please see Range's IsSatisfiedBy for details.
// Satisfies is a convenience function for former NodeJS developers // and works on two strings . // // Please see Range ' s IsSatisfiedBy for details .
func Satisfies(aVersion, aRange string) (bool, error) {
	v, err := NewVersion([]byte(aVersion))
	if err != nil {
		return false, err
	}
	r, err := NewRange([]byte(aRange))
	if err != nil {
		return false, err
	}
	return r.IsSatisfiedBy(v), nil
}
func Satisfies ( aVersion , aRange string ) ( bool , error ) { v , err := NewVersion ( [ ] byte ( aVersion ) ) if err != nil { return false , err } r , err := NewRange ( [ ] byte ( aRange ) ) if err != nil { return false , err } return r . IsSatisfiedBy ( v ) , nil }
Satisfies is a convenience function for former NodeJS developers,
and works on two strings.
Satisfies is a convenience function for former NodeJS developers and works on two strings .