Checks if a given type T is exactly the unknown type.
unknown extends T holds only for T = unknown or T = any, so any is
excluded first via IsAny. The check does not distribute over unions (the
checked type appears on the right-hand side of extends).
Checks if a given type
Tis exactly theunknowntype.unknown extends Tholds only forT = unknownorT = any, soanyis excluded first viaIsAny. The check does not distribute over unions (the checked type appears on the right-hand side ofextends).