"use strict";

var evaluateValue = function evaluateValue(value) {
  if (typeof value === "function") {
    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
      args[_key - 1] = arguments[_key];
    }

    return value.apply(void 0, args);
  }

  return value;
};

module.exports = evaluateValue;

//# sourceMappingURL=index-es5.js.map