Current File : /home/tradevaly/text.tradevaly.com.bd/node_modules/collect.js/dist/methods/unless.js
'use strict';

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