Over in news [1] Josh Drake and Eric Ridge discovered the undocumented feature "IS [NOT] OF"; introduced seemingly as an "oh-by-the-way" in 2002 via commit eb121ba2cfe [2].
Is there any reason not to document this back to 9.5, probably with a note nearby to pg_typeof(any), which is a convoluted but documented way of making this kind of test?