repay()

Produces a function that when called will simply return what was passed in.

This function is valid in v2.8.0 to v2.14.0. This function has been downloaded 42 times.

Parameter

{…*=} input Optional
Zero or more arguments that will be returned by function made by this repay function.

Returns

{Function}
A function that when called will return all input arguments originally passed to the repay function. If only one input was passed, calling this returned function will simply return that one input argument. In all other cases an array containing all input arguments will be returned when this returned function is called.