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.