Installation
npm install --save @types/almost-equal
Summary
This package contains type definitions for almost-equal (https://github.com/mikolalysenko/almost-equal#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/almost-equal.
index.d.ts
// Type definitions for almost-equal 1.1
// Project: https://github.com/mikolalysenko/almost-equal#readme
// Definitions by: Curtis Maddalozzo <https://github.com/cmaddalozzo>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function almostEqual(
value: number,
other: number,
absoluteTolerance?: number,
relativeTolerance?: number,
): boolean;
declare namespace almostEqual {
const FLT_EPSILON: number;
const DBL_EPSILON: number;
}
export = almostEqual;
Additional Details
- Last updated: Fri, 22 Sep 2023 18:11:03 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Curtis Maddalozzo.