define(["exports"], function (_exports) {
  "use strict";

  Object.defineProperty(_exports, "__esModule", {
    value: true
  });
  _exports.default = min;

  /**
   * Get the smallest value
   *
   * @param   {Array} values Array of numbers
   * @returns {Number}       Smallest number found
   */
  function min(values) {
    var smallest = Number(Infinity);
    Object.keys(values).forEach(function (i) {
      if (values[i] < smallest) {
        smallest = values[i];
      }
    });
    return smallest;
  }
});