typeCheck Quick, lightweight typecheck function I made this! \(^-^)/ and published it to npm: https://www.npmjs.com/package/@pkmn-fan-club/typecheck