Created
August 22, 2022 07:47
-
-
Save Sidheeqpallam/26a900dd9b40f08197c2f4bd79d3d815 to your computer and use it in GitHub Desktop.
Make a custom handlebars helper for check two values are same or not.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isEqual = (a, b, options)=>{ | |
if(a == b){ | |
return options.fn(this) | |
} | |
return options.inverse(this) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment