Logic Gates Simple representation of logic gates and their truth tables in TypeScript. Currently the code looks really stupid, and I'm not sure if it's possible to fix. And if it is, does it even matter? In future, I will add the ability to combine them.