stop trying to make fetch happen

it is not going to happen

Typescript uses types

October 07, 2019 — ~level3

Remember that typescript uses types. If you compare a string and a number, they will not be equal.

Make sure you cast your string as a number like so

Number(inputString)

or !Number.isNaN(+inputString)

tags: typescript, angular