Initial commit
This commit is contained in:
6
theme/helpers/multiply.js
Normal file
6
theme/helpers/multiply.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = (a, b) => {
|
||||
if (isNaN(a) || isNaN(b)) {
|
||||
return null;
|
||||
}
|
||||
return a * b;
|
||||
};
|
||||
Reference in New Issue
Block a user