An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/barweiss/go-tuple : v1.1.2

package tuple defines tuple types that can hold multiple values of varying types. Currently, tuples with up to 9 values are supported. Tuple methods: * Len returns the number of values held by the tuple. * Values returns the values held by the tuple. * Array returns an array of the tuple values. * Slice returns a slice of the tuple values. * String returns the string representation of the tuple. * GoString returns a Go-syntax representation of the tuple. Tuple creation functions: Tuple comparison functions: * Equal<N> returns whether the host tuple is equal to the other tuple. * Compare<N> returns whether the host tuple is semantically less than, equal to, or greater than the guest tuple. * LessThan<N> returns whether the host tuple is semantically less than the guest tuple. * LessOrEqual<N> returns whether the host tuple is semantically less than or equal to the guest tuple. * GreaterThan<N> returns whether the host tuple is semantically greater than the guest tuple. * GreaterOrEqual<N> returns whether the host tuple is semantically greater than or equal to the guest tuple. Tuple comparison functions may have an "C" or "E" suffix as overload with additional supported type constraints. Comparison functions ending with "C" accept the "Comparable" constraint. Comparison functions ending with "E" accept the "Equalable contraint.

Registry - Documentation - Download - JSON - codemeta.json
purl: pkg:golang/github.com/barweiss/go-tuple@v1.1.2
Published:
Indexed:

    Loading...
    Readme
    Loading...
    Dependencies