@newdash/newdash
Version:
javascript/typescript utility library
11 lines (10 loc) • 295 B
TypeScript
export default createRound;
/**
* Creates a function like `round`.
*
* @ignore
* @private
* @param {string} methodName The name of the `Math` method to use when rounding.
* @returns {Function} Returns the new round function.
*/
declare function createRound(methodName: string): Function;