MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Ints

Function Ints

IceFireDB-PubSub/test/proto/types.go:72–78  ·  view source on GitHub ↗

Ints is a helper to build 1 dimensional int arrays.

(args ...int)

Source from the content-addressed store, hash-verified

70
71// Ints is a helper to build 1 dimensional int arrays.
72func Ints(args ...int) string {
73 var ints []string
74 for _, a := range args {
75 ints = append(ints, Int(a))
76 }
77 return Array(ints...)
78}
79
80// Map assembles the args in a map. Args should be raw redis commands.
81// Must be an even number of arguments.

Callers

nothing calls this directly

Calls 2

IntFunction · 0.70
ArrayFunction · 0.70

Tested by

no test coverage detected