MCPcopy Create free account
hub / github.com/LissaGreense/GO4SQL / stringArrayEquals

Function stringArrayEquals

parser/parser_test.go:961–971  ·  view source on GitHub ↗
(a []string, b []string)

Source from the content-addressed store, hash-verified

959}
960
961func stringArrayEquals(a []string, b []string) bool {
962 if len(a) != len(b) {
963 return false
964 }
965 for i, v := range a {
966 if v != b[i] {
967 return false
968 }
969 }
970 return true
971}
972
973func tokenArrayEquals(a []token.Token, b []token.Token) bool {
974 if len(a) != len(b) {

Callers 1

testCreateStatementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected