AnythingOfType returns a special value containing the name of the type to check for. The type name will be matched against the type name returned by [reflect.Type.String]. Used in Diff and Assert. For example: args.Assert(t, AnythingOfType("string"), AnythingOfType("int"))
(t string)
| 816 | // |
| 817 | // args.Assert(t, AnythingOfType("string"), AnythingOfType("int")) |
| 818 | func AnythingOfType(t string) AnythingOfTypeArgument { |
| 819 | return anythingOfTypeArgument(t) |
| 820 | } |
| 821 | |
| 822 | // IsTypeArgument is a struct that contains the type of an argument |
| 823 | // for use when type checking. This is an alternative to [AnythingOfType]. |