how do you check data type in node js code example
Example: node js check type of variable
if (typeof i != "number") {
console.log('This is not number');
}
if (typeof i != "number") {
console.log('This is not number');
}