peridot/vendor/github.com/vbauerster/mpb/v7/internal/predicate.go

7 lines
134 B
Go
Raw Permalink Normal View History

2022-07-07 20:11:50 +00:00
package internal
// Predicate helper for internal use.
func Predicate(pick bool) func() bool {
return func() bool { return pick }
}