Typescript Check If String Is Keyboard An Input