7.0.5 • Published 6 months ago

@types/is-number v7.0.5

Weekly downloads
128,006
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for is-number 7.0
// Project: https://github.com/jonschlinkert/is-number
// Definitions by: Jed Thompson <https://github.com/jedster1111>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Mon, 21 Mar 2022 20:31:57 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Jed Thompson.