thelounge/client/js/libs/handlebars/equal.js
Pavel Djundik fb87bd3a58 Webpack
2016-12-27 19:15:30 +02:00

9 lines
150 B
JavaScript

module.exports = function(a, b, opt) {
a = a.toString();
b = b.toString();
if (a === b) {
return opt.fn(this);
}
return opt.inverse(this);
};