The function to cap arguments for.
Rest
...args: any[]Optional
n: numberThe arity cap.
Returns the new function.
Creates a function that accepts up to n arguments ignoring any additional arguments.
Rest
...args: any[]Returns the new function.
Generated using TypeDoc
Creates a function that accepts up to n arguments ignoring any additional arguments.