Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to check when a number varibal = nan in ts

if (isNaN(number)) {
      number = 0;
}
Source by www.tektutorialshub.com #
 
PREVIOUS NEXT
Tagged: #check #number #varibal #nan #ts
ADD COMMENT
Topic
Name
3+8 =