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

Function IsError

IceFireDB-PubSub/test/proto/types.go:23–25  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

21}
22
23func IsError(s string) bool {
24 return s[0] == '-'
25}
26
27func inline(r rune, s string) string {
28 return fmt.Sprintf("%s%s\r\n", string(r), s)

Callers 1

mustDoFunction · 0.92

Calls

no outgoing calls

Tested by 1

mustDoFunction · 0.74