kubernetes/vendor/github.com/asaskevich/govalidator/numerics.go

// Abs returns absolute value of number
func Abs(value float64) float64 {}

// Sign returns signum of number: 1 in case of value > 0, -1 in case of value < 0, 0 otherwise
func Sign(value float64) float64 {}

// IsNegative returns true if value < 0
func IsNegative(value float64) bool {}

// IsPositive returns true if value > 0
func IsPositive(value float64) bool {}

// IsNonNegative returns true if value >= 0
func IsNonNegative(value float64) bool {}

// IsNonPositive returns true if value <= 0
func IsNonPositive(value float64) bool {}

// InRange returns true if value lies between left and right border
func InRangeInt(value, left, right interface{}

// InRange returns true if value lies between left and right border
func InRangeFloat32(value, left, right float32) bool {}

// InRange returns true if value lies between left and right border
func InRangeFloat64(value, left, right float64) bool {}

// InRange returns true if value lies between left and right border, generic type to handle int, float32 or float64, all types must the same type
func InRange(value interface{}

// IsWhole returns true if value is whole number
func IsWhole(value float64) bool {}

// IsNatural returns true if value is natural number (positive and whole)
func IsNatural(value float64) bool {}