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

1.1.3 • Public • Published

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

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: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: none

Credits

These definitions were written by Curtis Maddalozzo.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/almost-equal

Weekly Downloads

1,373

Version

1.1.3

License

MIT

Unpacked Size

3.12 kB

Total Files

5

Last publish

Collaborators

  • types