add isNaN function
Merge pull request #224 from mikusp/master

add isNaN function