Implement isNumber(toTest: string) to check whether a string is a number.
Unlock detailed company stats for this questionUpgrade
function isNumber(toTest: string): boolean {} Given a string, return whether it is a number. Examples: '234' true, '-455' true, '1e2' false, '12^2' false, '23.23' true, '2.2.4' false.
Community answers
No answers contributed by the community yet.


