Is it possible in Handlebars to check if a string is equal to another value without registering a helper? I can\'t seem to find anything relevant to this in the Handlebars r
Node.js add this in server.js
const isEqual = function(a, b, opts) { if (a == b) { return opts.fn(this) } else { return opts.inverse(this) } } var hbs = require('hbs'); hbs.registerHelper('if_eq', isEqual);