peridot/vendor/github.com/vbauerster/mpb/v7/internal/predicate.go
2022-07-07 22:13:21 +02:00

7 lines
134 B
Go

package internal
// Predicate helper for internal use.
func Predicate(pick bool) func() bool {
return func() bool { return pick }
}