utils

package
v0.0.0-...-dc89ce0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: MIT, Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Includes

func Includes(array []int, target int) bool

Includes if array includes

func Max

func Max(array []int) int

Max gets largest number in array

func Min

func Min(array []int) int

Min gets smallest number in array

func RandomSequence

func RandomSequence(minimum, maximum int) []int

RandomSequence generates a random sequence of numbers between minimum and maximum

Types

This section is empty.

Jump to

Keyboard shortcuts

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