function
factorial
factorial(n: Int) -> Int
Computes the factorial of the integer.
Args:
- n (
Int
): The input value.
Returns:
The factorial of the input.
function
factorial(n: Int) -> Int
Computes the factorial of the integer.
Args:
Int
): The input value.Returns:
The factorial of the input.