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

3.0.3 • Public • Published

Installation

npm install --save @types/float-equal

Summary

This package contains type definitions for float-equal (https://github.com/sindresorhus/float-equal#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/float-equal.

/**
 * Check if two floats are almost equal
 */
declare function floatEqual(a: number, b: number): boolean;

export default floatEqual;

Additional Details

  • Last updated: Fri, 04 Oct 2024 16:42:27 GMT
  • Dependencies: none

Credits

These definitions were written by Dolan Murvihill.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/float-equal

Weekly Downloads

32

Version

3.0.3

License

MIT

Unpacked Size

2.87 kB

Total Files

5

Last publish

Collaborators

  • types