Predicate Type::hasSubtype

Holds if reference type t is an immediate super-type of sub.

predicate hasSubtype(RefType t, Type sub)