ranges

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Range

type Range struct {
	Min int
	Max int
}

func (Range) IsWithin

func (r Range) IsWithin(v int) bool

type Ranges

type Ranges []Range

func (Ranges) IsWithinAny

func (rs Ranges) IsWithinAny(v int) bool

Jump to

Keyboard shortcuts

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