package
Version:
v0.0.0-...-77dcbbd
Opens a new window with list of versions in this module.
Published: Feb 2, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ints provides utility functions for int slices.
Include returns true if the list contains target integer.
Unique takes integer slice and return true if it contains unique set.
MaxUInt32 returns max number within input (input order will be mutated).
MaxUInt32 returns max number within input (input order will be mutated).
func Unique[T Integer](list []T) []T
Unique takes integer slice and return unique set of integer.
Integer is type for generic for any integers.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.