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

1.1.1 • 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

// 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.

Keywords

none

Install

DownloadsWeekly Downloads

1,125

Version

1.1.1

License

MIT

Unpacked Size

3.63 kB

Total Files

5

Last publish

Collaborators

  • types