thelounge/client/js/libs/handlebars/equal.js
2017-03-18 11:21:18 +02:00

11 lines
165 B
JavaScript

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