bloaterbot/commonlogic/commonlogic.go
2023-03-05 04:20:17 +01:00

11 lines
143 B
Go

package commonlogic
func ContainsInt64(a []int64, b int64) bool {
for _, v := range a {
if v == b {
return true
}
}
return false
}