summaryrefslogtreecommitdiff
path: root/vendor/github.com/posener/complete/match/match.go
blob: 812fcac96b3c2ead34dbfd97e58d1acf36cd4792 (plain)
1
2
3
4
5
6
package match

// Match matches two strings
// it is used for comparing a term to the last typed
// word, the prefix, and see if it is a possible auto complete option.
type Match func(term, prefix string) bool