npm i type-equality
import {} from "type-equality";
IsEqualTo.Stricts("1", 1); //false
IsEqualTo.Normals("1", 1); //true
IsEqualTo.Default("1", 1); //Default Mode is "Normals" //true
IsEqualTo.Mode = "Normals"; //Set Mode to Normals
IsNotEqualTo.Stricts("1", 1); //true
IsNotEqualTo.Normals("1", 1); //false
IsNotEqualTo.Default("1", 1); //Default Mode is "Normals" //false
IsNotEqualTo.Mode = "Normals"; //Set Mode to Normals
SetDefaultTo("Normals"); //Set IsEqualTo & IsNotEqualTo = Normals
SetDefaultTo("Stricts"); //Set IsEqualTo & IsNotEqualTo = Stricts
SetDefaultTo("Invalid"); //TypeError: Invalid SetDefaultTo Mode
ShowDefault(true); // IsEquaTo: <Mode> IsNotEqualTo: <Mode>
ShowDefault(false);
ShowDefault("Invalid"); //TypeError: Invalid SetDefaultTo Mode
TypErr("Hello"); //TypeError: Hello