code: function optionResult(options, option){
          var result = options[option];
          // If the returned value is a function, call it with the dest option parameter
          if(_.isFunction(result)){
              result = result(options.dest);
          }
          return result;
      }
docs: Get option result from options