Type guard narrowing value to string.
value
string
The value to test.
true if value is a string.
true
Type guard narrowing
valuetostring.