bool.go 77 B

12345
  1. package utils
  2. func IsBool(bs ...bool) bool {
  3. return len(bs) > 0 && bs[0]
  4. }