Calculates the factorial of a given integer.
The factorial of n.
n
An error if n is negative or not an integer.
The integer to calculate the factorial of.
Generated using TypeDoc
Calculates the factorial of a given integer.
Returns
The factorial of
n
.Throws
An error if
n
is negative or not an integer.