Skip to content
Subhajit Sahu edited this page Jun 24, 2020 · 7 revisions

Gives smallest value. 🏃 📼 📦 🌔 📒

bigint.min(...xs);
// xs: bigints
const bigint = require('extra-bigint');

bigint.min(5n, 3n, 8n);
// 3n

bigint.min(5n, 3n, -8n);
// -8n

bigint.min();
// null

references

Clone this wiki locally