UNPKG

node-irr-es5

Version:

A Node.js package that provides an easy and customizable way to calculate internal rate of return.

8 lines (7 loc) 240 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isValidRoot = void 0; function isValidRoot(value) { return !isNaN(value) && isFinite(value) && value >= 0; } exports.isValidRoot = isValidRoot;