UNPKG

enhancedmath

Version:

This package contains some enhanced mathematical operations

8 lines (7 loc) 199 B
/** * Calculates the factorial of n * @param {number} n The amount * @returns {number} The factorial of n */ declare const factorial: (n: number) => bigint | undefined; export default factorial;