int_utils

package
v0.6.80 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEven

func IsEven(n int) bool

IsEven returns true if the integer is even.

func IsOdd

func IsOdd(n int) bool

IsOdd returns true if the integer is odd.

func Max

func Max(nums ...int) int

Max returns the largest integer from a list of integers.

func Min

func Min(nums ...int) int

Min returns the smallest integer from a list of integers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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