npm.io
7.0.5 • Published 2 years ago

@types/is-number

Licence
MIT
Version
7.0.5
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/is-number

Summary

This package contains type definitions for is-number (https://github.com/jonschlinkert/is-number).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-number.

index.d.ts

export = is_number;

/**
 * Will test to see if the argument is a valid number, excluding Infinity and NaN.
 * @param num Any value that should be tested for being a number
 * @returns true if the parameter is a valid number, otherwise false
 */
declare function is_number(num: unknown): boolean;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: none

Credits

These definitions were written by Jed Thompson.