15 lines
277 B
Go
15 lines
277 B
Go
// Copyright (c) 2022 Bryan Joshua Pedini
|
|
// License: GPL-3 ยท See LICENSE for more details
|
|
package gobasiclogger
|
|
|
|
import "strings"
|
|
|
|
func _stringInArray(s string, l []string) bool {
|
|
for _, e := range l {
|
|
if strings.Compare(s, e) == 0 {
|
|
return true
|
|
}
|
|
}
|
|
return false
|
|
}
|