Typescript Check If String Is Number