Check If Type Is String Typescript Interview