---
title: "What is the use of isNaN function?"  
description: "What is the use of isNaN function?"  
author: "Anonymous User"  
published: 2015-01-28  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/2315/what-is-the-use-of-isnan-function  
category: "javascript"  
tags: ["jquery"]  
reading_time: 1 minute  

---

# What is the use of isNaN function?

isNan function returns true if the argument is not a number otherwise it is false.

## Answers

### Answer by prateek jain

The IsNaN () function determines whether the value is an invalid number (not-a-number). If the value is equal to NaN, then this function is correct. Otherwise it is unreal. This function number is different from the specific number.isNaN () method.

the best Javascript programming courses, tutorials, MCQ,interview questions recommended by experts.

\

\

### Answer by Anonymous User

isNan function returns true if the argument is not a number otherwise it is false.


---

Original Source: https://www.mindstick.com/interview/2315/what-is-the-use-of-isnan-function

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
