Sometimes, you just use the modulo operator to check if a number is odd or even. But, there is a smarter way to do it.
This project is a simple implementation of a generator that generates if statements to check if a number is odd or even.
This script generates TypeScript functions but it is written in C++ for faster creation!