package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Mar 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Copy[V any](slice []V) []V
Copy returns a copy of the slice, otherwise nil.
func Create[V any](_ []V, size int) []V
Create returns a silce with the given size, otherwise nil.
HasNaN returns true when the slice has any values that are NaN, otherwise false.
func Lengths[V any](slices ...[]V) bool
Lengths returns true if all slices have same length, otherwise false.
Valid returns true if slice is valid, otherwise false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.