UNPKG

@princedev/calculate

Version:

Fast, lightweight, and extinsible mathematical and statistical functions.

12 lines (11 loc) 380 B
/** * @name notAllowed * * @description - Throws error when number of arguments recieved did not meet expected minimum. * * @param {{ [key: string]: number }} variable variable to be compared. * @param {number} value value which the variable must not equal to. */ export default function notAllowed(variable: { [key: string]: number; }, value: number): any;