Implement the util type IsString<T> which accepts type T and return true if it's string or false if it is not.
IsString<T>
T
true
false
IsString<'abc'> // expected true IsString<12> // expected false IsString<() => void> // expected false
Code