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

Function InArray

IceFireDB-SQLProxy/utils/util.go:18–20  ·  view source on GitHub ↗
(in string, array []string)

Source from the content-addressed store, hash-verified

16)
17
18func InArray(in string, array []string) bool {
19 return slices.Contains(array, in)
20}
21
22func GoWithRecover(handler func(), recoverHandler func(r any)) {
23 go func() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected