@utilify/core
Version:
Modern, strongly typed, and safe utility function library for JavaScript and TypeScript. Includes type checking, manipulation of arrays, objects, strings, dates, colors, numbers, regular expressions, and more. Compatible with Browser, Node.js, Deno, and B
9 lines • 357 B
TypeScript
/**
* Raises a base to the exponent power.
* @param {number} base - The base number.
* @param {number} exponent - The exponent.
* @returns {number} The result of base raised to exponent.
* @throws {TypeError} If base or exponent is not a number.
*/
export default function pow(base: number, exponent: number): number;
//# sourceMappingURL=pow.d.ts.map