import "github.com/google/go-cmp/cmp/internal/function"
Package function provides functionality for identifying function types.
const ( Equal = ttbFunc // func(T, T) bool EqualAssignable = tibFunc // func(T, I) bool; encapsulates func(T, T) bool Transformer = trFunc // func(T) R ValueFilter = ttbFunc // func(T, T) bool Less = ttbFunc // func(T, T) bool ValuePredicate = tbFunc // func(T) bool KeyValuePredicate = trbFunc // func(T, R) bool )
IsType reports whether the reflect.Type is of the specified function type.
NameOf returns the name of the function value.
Package function imports 4 packages (graph) and is imported by 2 packages. Updated 2020-09-24. Refresh now. Tools for package owners.