npm.io
3.0.3 • Published 1 year ago

@types/float-equal

Licence
MIT
Version
3.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.5K

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.

index.d.ts

/**
 * 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 1627 GMT
  • Dependencies: none

Credits

These definitions were written by Dolan Murvihill.