Finished GroupRoll

This commit is contained in:
WBHarry 2025-11-05 23:51:14 +01:00
parent a442cb904b
commit c49079c57c
15 changed files with 632 additions and 42 deletions

View file

@ -15,7 +15,8 @@ export default class RegisterHandlebarsHelpers {
setVar: this.setVar,
empty: this.empty,
pluralize: this.pluralize,
positive: this.positive
positive: this.positive,
isNullish: this.isNullish
});
}
static add(a, b) {
@ -94,4 +95,8 @@ export default class RegisterHandlebarsHelpers {
static positive(a) {
return Math.abs(Number(a));
}
static isNullish(a) {
return a === null || a === undefined;
}
}