{"modulePath":"github.com/google/go-cmp","version":"v0.7.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package function\n\nPackage function provides functionality for identifying function types.\n\n## Constants\n\n```go\nconst (\n\tEqual             = ttbFunc // func(T, T) bool\n\tEqualAssignable   = tibFunc // func(T, I) bool; encapsulates func(T, T) bool\n\tTransformer       = trFunc  // func(T) R\n\tValueFilter       = ttbFunc // func(T, T) bool\n\tLess              = ttbFunc // func(T, T) bool\n\tCompare           = ttiFunc // func(T, T) int\n\tValuePredicate    = tbFunc  // func(T) bool\n\tKeyValuePredicate = trbFunc // func(T, R) bool\n)\n```\n\n## Functions\n\n```go\nfunc IsType(t reflect.Type, ft funcType) bool\n```\nIsType reports whether the reflect.Type is of the specified function type.\n\n```go\nfunc NameOf(v reflect.Value) string\n```\nNameOf returns the name of the function value.\n\n","path":"github.com/google/go-cmp/cmp/internal/function","name":"function","synopsis":"Package function provides functionality for identifying function types.","isRedistributable":true}
