lib/index.js
function getMultiplier(_ref2) {
  var operator_keyword = _ref2.operator_keyword,
      post_keyword = _ref2.post_keyword;
  return operator_keyword === '-' || post_keyword === 'ago' ? -1 : 1;
}
function getMultiplier(_ref2) {
  var operator_keyword = _ref2.operator_keyword,
      post_keyword = _ref2.post_keyword;
  return operator_keyword === '-' || post_keyword === 'ago' ? -1 : 1;
}
function getMultiplier ( _ref2 ) { var operator_keyword = _ref2 . operator_keyword , post_keyword = _ref2 . post_keyword ; return operator_keyword === '-' || post_keyword === 'ago' ? - 1 : 1 ; }
Gets multiplier based on whether the value is in past or future.
@param {object} config
@param {operator_keyword} config.operator_keyword
@param {post_keyword} config.post_keyword
@return {number}
Gets multiplier based on whether the value is in past or future .