npm install --save @types/float-equal
This package contains type definitions for float-equal (https://github.com/sindresorhus/float-equal#readme).
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;
- Last updated: Fri, 04 Oct 2024 16:42:27 GMT
- Dependencies: none
These definitions were written by Dolan Murvihill.