vituarvom / react-smart-utils

A simple, smart hooks and utility functions to make development easier
https://www.npmjs.com/package/react-smart-utils
13 stars 34 forks source link

isNumber #28

Open bharat-dussa opened 1 month ago

bharat-dussa commented 1 month ago

isNumber

Checks if the provided value is a number (including integers and floats).

File: src/utils/function/isNumber/isNumber.ts Test File: src/utils/function/isNumber/isNumber.test.ts

Parameters:

Returns:

Example:


isNumber(123);          // true
isNumber(3.14);        // true
isNumber('Hello');      // false
isNumber(NaN);         // false
isNumber(null);        // false
doosabhulaxmi commented 1 month ago

@bharat-dussa hi i want to solve this issue please assign

RahulJOD commented 1 month ago

Hi, Please assign this issue to me. I want to contribute

kalvakeerthi commented 1 month ago

Please assign this issue to me, I want to solve this issue.@bharat-dussa