func github.com/google/go-cmp/cmp/internal/function.IsType
9 uses
github.com/google/go-cmp/cmp/internal/function (current package)
func.go#L38: func IsType(t reflect.Type, ft funcType) bool {
github.com/google/go-cmp/cmp
compare.go#L312: if !ok || !function.IsType(m.Type, function.EqualAssignable) {
options.go#L159: if !function.IsType(v.Type(), function.ValueFilter) || v.IsNil() {
options.go#L277: if !function.IsType(v.Type(), function.Transformer) || v.IsNil() {
options.go#L344: if !function.IsType(v.Type(), function.Equal) || v.IsNil() {
github.com/google/go-cmp/cmp/cmpopts
ignore.go#L157: if !function.IsType(vf.Type(), function.ValuePredicate) || vf.IsNil() {
ignore.go#L185: if !function.IsType(vf.Type(), function.KeyValuePredicate) || vf.IsNil() {
sort.go#L31: if !function.IsType(vf.Type(), function.Less) || vf.IsNil() {
sort.go#L102: if !function.IsType(vf.Type(), function.Less) || vf.IsNil() {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |