Dpack get data Node : V10
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
197 B

  1. 'use strict';
  2. var ifExpression = function (value1,value2,options) {
  3. if(value1 === value2) {
  4. return options.fn(this);
  5. }
  6. return options.inverse(this);
  7. }
  8. exports.ifExpression = ifExpression;