mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-18 19:31:25 +00:00
7 lines
134 B
Go
7 lines
134 B
Go
|
package internal
|
||
|
|
||
|
// Predicate helper for internal use.
|
||
|
func Predicate(pick bool) func() bool {
|
||
|
return func() bool { return pick }
|
||
|
}
|