Checks if two types are not exactly equal.
type Result1 = IsNot<string, string>; // is false type Result2 = IsNot<number, string>; // is true type Result3 = IsNot<boolean | string, string | boolean>; // is false Copy
type Result1 = IsNot<string, string>; // is false type Result2 = IsNot<number, string>; // is true type Result3 = IsNot<boolean | string, string | boolean>; // is false
Checks if two types are not exactly equal.