@princedev/calculate
Version:
Fast, lightweight, and extinsible mathematical and statistical functions.
10 lines (9 loc) • 334 B
TypeScript
/**
* @name exactArguments
*
* @description - Throws error when number of arguments recieved did not meet exact number.
*
* @param {number} required required number of arguments.
* @param {Array<any>} argument arguments received.
*/
export default function exactArguments(required: number, argument: IArguments): any;