Open bharat-dussa opened 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
src/utils/function/isNumber/isNumber.ts
src/utils/function/isNumber/isNumber.test.ts
Parameters:
value: any
Returns:
boolean
true
false
Example:
isNumber(123); // true isNumber(3.14); // true isNumber('Hello'); // false isNumber(NaN); // false isNumber(null); // false
@bharat-dussa hi i want to solve this issue please assign
Hi, Please assign this issue to me. I want to contribute
Please assign this issue to me, I want to solve this issue.@bharat-dussa
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:
value: any
: The value to check.Returns:
boolean
: Returnstrue
if the value is a number, otherwise returnsfalse
.Example: