diff --git a/docs/reflection.md b/docs/reflection.md index 597871f3..865b4941 100644 --- a/docs/reflection.md +++ b/docs/reflection.md @@ -32,7 +32,7 @@ Types are slightly harder to work with, so there are three different functions: - `typeOf` returns the underlying type of a value: `typeOf $foo` - `typeIs` is like `kindIs`, but for types: `typeIs "*io.Buffer" $myVal` -- `typeIsLike` works as `kindIs`, except that it also dereferences pointers. +- `typeIsLike` works as `typeIs`, except that it also dereferences pointers. **Note:** None of these can test whether or not something implements a given interface, since doing so would require compiling the interface in ahead of time.