package
Version:
v0.0.0-...-63a78bc
Opens a new window with list of versions in this module.
Published: Apr 6, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Add adds b to a. This modifies a.
Compare returns 1 if a is greater than b in lexicographic order, 0 if they are equal and -1 if b is greater than a.
Equal returns true if a and b are the same and false otherwise.
func HasPrefix(s, prefix []int) bool
HasPrefix returns true if s begins with prefix and false otherwise.
Max returns the largest int in a.
Min returns the smallest int in a.
Reverse reverses a. This modifies a.
Sum returns the sum of the ints in a.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.