JSFiddle - React, Tailwind, and code Playground

by Pritesh Patel

JavaScript

const val = ''

const test = !Number.isNaN(parseFloat(val))
console.log('test', test);