Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chain-able-deps / dist / math / min.js
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var flip2_1 = require("../fp/flip2");
var max_1 = require("./max");
/**
 * Returns the *smallest* of its two arguments.
 * @since 5.0.0-beta.6
 * @name min
 * @alias smallest
 * @memberOf math
 *
 * @param {number|*} a
 * @param {number|*} b
 * @return {number|*} if (b < a) b; else a
 *
 * @func
 * @fork v0.1.0
 * @category Relation
 * @sig Ord a => a -> a -> a
 *
 * {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/max mozilla-math.min}
 * @see {@link mozilla-math.min}
 *
 * @see maxBy, min
 * @see math/min
 *
 * @example
 *
 *      min(789, 123); //=> 789
 *      min('a', 'b'); //=> 'b'
 *
 */
exports.default = flip2_1.default(max_1.default);
//# sourceMappingURL=min.js.map