File: predicate.go

package info (click to toggle)
golang-github-viant-toolbox 0.33.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,280 kB
  • sloc: makefile: 16
file content (7 lines) | stat: -rw-r--r-- 157 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
package toolbox

//Predicate represents a generic predicate
type Predicate interface {
	//Apply checks if predicate is true
	Apply(value interface{}) bool
}