Answers for "how to check when a number varibal = nan in ts"

1

how to check when a number varibal = nan in ts

if (isNaN(number)) {
      number = 0;
}
Posted by: Guest on December-23-2020

Code answers related to "how to check when a number varibal = nan in ts"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language