Installation
npm install --save @types/lcm
Summary
This package contains type definitions for lcm (https://github.com/nickleefly/node-lcm).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lcm.
index.d.ts
/**
* Compute the least common multiple using [Euclid’s algorithm](http://en.wikipedia.org/wiki/Euclidean_algorithm).
*
* @returns the least common multiple of the integers `a` and `b` using Euclid's algorithm.
*/
declare function lcm(a: number, b: number): number;
export = lcm;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: none
Credits
These definitions were written by Remco Haszing.