mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-22 04:48:45 +08:00

* feat: optimize file operation interface * chore: fix typo Co-authored-by: Noah Hsu <i@nn.ci>
6 lines
77 B
Go
6 lines
77 B
Go
package utils
|
|
|
|
func IsBool(bs ...bool) bool {
|
|
return len(bs) > 0 && bs[0]
|
|
}
|