rangeValues

package
v1.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RangeFloat64

type RangeFloat64 struct {
	Min float64
	Max float64
}

func (*RangeFloat64) IsInRange

func (r *RangeFloat64) IsInRange(value float64) bool

func (*RangeFloat64) IsNaN

func (r *RangeFloat64) IsNaN() bool

func (*RangeFloat64) IsValueInRange

func (r *RangeFloat64) IsValueInRange(value *RangeFloat64) bool

type RangeInt added in v1.1.8

type RangeInt struct {
	Min int
	Max int
}

func (*RangeInt) GetRandom added in v1.1.8

func (r *RangeInt) GetRandom() int

func (*RangeInt) IsInRange added in v1.1.8

func (r *RangeInt) IsInRange(value int) bool

func (*RangeInt) IsValueInRange added in v1.1.8

func (r *RangeInt) IsValueInRange(value *RangeInt) bool

type RangeInt32 added in v1.1.8

type RangeInt32 struct {
	Min int32
	Max int32
}

func (*RangeInt32) GetRandom added in v1.1.8

func (r *RangeInt32) GetRandom() int32

func (*RangeInt32) IsInRange added in v1.1.8

func (r *RangeInt32) IsInRange(value int32) bool

func (*RangeInt32) IsValueInRange added in v1.1.8

func (r *RangeInt32) IsValueInRange(value *RangeInt32) bool

type RangeInt64 added in v1.1.8

type RangeInt64 struct {
	Min int64
	Max int64
}

func (*RangeInt64) GetRandom added in v1.1.8

func (r *RangeInt64) GetRandom() int64

func (*RangeInt64) IsInRange added in v1.1.8

func (r *RangeInt64) IsInRange(value int64) bool

func (*RangeInt64) IsValueInRange added in v1.1.8

func (r *RangeInt64) IsValueInRange(value *RangeInt64) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL