Skip to main content
Source Link
Shishir Arora
  • 5.9k
  • 4
  • 32
  • 36

isNumeric=(el)=>{return Boolean(parseFloat(el)) && isFinite(el)}

Nothing very different but we can use Boolean constructor

Post Made Community Wiki by Shishir Arora