1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.nMin = exports.nMax = void 0;
|
4 | const helpers_js_1 = require("./helpers.js");
|
5 | /**
|
6 | * @name nMax
|
7 | * @summary Finds and returns the highest value in an array of bigint.
|
8 | */
|
9 | exports.nMax = (0, helpers_js_1.createCmp)((a, b) => a > b);
|
10 | /**
|
11 | * @name nMin
|
12 | * @summary Finds and returns the lowest value in an array of bigint.
|
13 | */
|
14 | exports.nMin = (0, helpers_js_1.createCmp)((a, b) => a < b);
|