Search results

16 packages found

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

published version 7.0.0, 7 years ago2861 dependents licensed under $MIT
336,712,438

Test if a double-precision floating-point numeric value is NaN.

published version 0.2.2, 8 months ago778 dependents licensed under $Apache-2.0
1,799,099

Test if a value is NaN.

published version 0.2.2, 8 months ago51 dependents licensed under $Apache-2.0
274,185

The lodash method `_.isNaN` exported as a module.

published version 3.0.2, 9 years ago49 dependents licensed under $MIT
54,057

Validates if a value is a NaN primitive.

published version 1.0.0, 10 years ago2 dependents
11,146

Validates if a value is NaN.

published version 1.0.3, 10 years ago86 dependents
11,461

Test if a single-precision floating-point numeric value is NaN.

published version 0.2.2, 8 months ago51 dependents licensed under $Apache-2.0
5,466

A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.

published version 5.5.0, 20 days ago2 dependents licensed under $AGPL-3.0-only
1,559

Computes for each array element whether an element is NaN.

published version 1.0.0, 10 years ago1 dependents
918

Test if a value is an array-like object containing only NaN values.

published version 0.2.2, 8 months ago0 dependents licensed under $Apache-2.0
138

The ts-is-number a utility npm package that checks if a given input is a valid finite number or a string that can be converted to a valid finite number.

published version 1.1.0, 2 years ago0 dependents licensed under $MIT
42

Returns sensible integer value of a given variable. Unlike parseInt it will never return NaN and you can set a default value to be returned in case the variable is undefined! Hence you can write even cleaner code. So if it's supposed to be an integer, cas

published version 2.0.0, 2 years ago0 dependents licensed under $MIT
30

[![discordBadge](https://img.shields.io/badge/Chat-Click%20here-7289d9?style=for-the-badge&logo=discord)](https://discord.gg/ZVERh35) [![downloadsBadge](https://img.shields.io/npm/dt/fast-is-number?style=for-the-badge)](https://npmjs.com/fast-is-number) [

published version 1.0.2, 2 years ago0 dependents licensed under $MIT
14

Multiplies a number by zero. Useful for when you need to multiply a number by zero.

published version 1.0.2, 3 years ago0 dependents licensed under $MIT
9

Test whether value is NaN

published version 0.0.0, 8 years ago0 dependents licensed under $MIT
4

A JavaScript/Typescript library for fast type checking. Check if a given value is a string, number, object, ...

published version 1.1.0, 3 years ago0 dependents licensed under $MIT
1