typeIs

typeIs is like kindIs, but for types: typeIs "*io.Buffer" $myVal

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.

Back to top