Any object that provides a valueOf() function which returns a number. The built-in types string and number (among others) satisfy this constraint.
valueOf()
number
string
Generated using TypeDoc
Any object that provides a
valueOf()function which returns anumber. The built-in typesstringandnumber(among others) satisfy this constraint.