add eq helper

This commit is contained in:
2026-05-14 18:19:22 -04:00
parent 3ca9f1c75d
commit 6cde8af37c
+6
View File
@@ -39,6 +39,12 @@ const hbsHelpers = {
lenNotEq: (array, comparitor) => {
return array.length !== parseInt(comparitor, 10);
},
eq: (value, comparitor) => {
return value == comparitor;
},
eqStrict: (value, comparitor) => {
return value === comparitor;
},
optionSelected: (v1, v2) => {
return v1 === v2 ? 'selected' : '';
},