node js periksa jenis variabel

if (typeof i != "number") {
    console.log('This is not number');
}
Plain Piranha