Usage Works with strings or numbers. const isOdd = require('{%= name %}'); console.log(isOdd('1')); //=> true console.log(isOdd('3')); //=> true console.log(isOdd(0)); //=> false console.log(isOdd(2)); //=> false