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

1.1.2 • Public • Published

Installation

npm install --save @types/fast-isnumeric

Summary

This package contains type definitions for fast-isnumeric (https://github.com/plotly/fast-isnumeric#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fast-isnumeric.

index.d.ts

/**
 * The fast way to check if a JS object is numeric
 * Inspired by is-number <https://github.com/jonschlinkert/is-number>
 * but significantly simplified and sped up by ignoring number and string constructors
 * ie these return false:
 *   new Number(1)
 *   new String('1')
 */
declare function isNumeric(n: any): boolean;

export = isNumeric;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Piotr Błażejewicz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/fast-isnumeric

Weekly Downloads

307

Version

1.1.2

License

MIT

Unpacked Size

3.32 kB

Total Files

5

Last publish

Collaborators

  • types