@types/lcm
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/lcm

Weekly Downloads

1,407

Version

0.0.2

License

MIT

Unpacked Size

3.07 kB

Total Files

5

Last publish

Collaborators

  • types