Current File : /home/tradevaly/www/node_modules/collect.js/src/methods/unless.js
'use strict';

module.exports = function when(value, fn, defaultFn) {
  if (!value) {
    fn(this);
  } else {
    defaultFn(this);
  }
};