code: func IsInRange(value, left, right float64) bool {
  	if left > right {
  		left, right = right, left
  	}
  	return value >= left && value <= right
  }
docs: // IsInRange returns true if value lies between left and right border