9 lines
144 B
JavaScript
9 lines
144 B
JavaScript
exports.if_eq = function(a, b, opts) {
|
|
if (a == b) {
|
|
return opts.fn(this);
|
|
} else {
|
|
return opts.inverse(this);
|
|
}
|
|
}
|
|
|