3.0.2 • Published 7 months ago

@types/float-equal v3.0.2

Weekly downloads
9
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for float-equal 3.0
// Project: https://github.com/sindresorhus/float-equal#readme
// Definitions by: Dolan Murvihill <https://github.com/dmurvihill>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/**
 * Check if two floats are almost equal
 */
declare function floatEqual(a: number, b: number): boolean;

export default floatEqual;

Additional Details

  • Last updated: Thu, 27 May 2021 21:31:35 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Dolan Murvihill.