If the unknown value is a string then return it as a string, otherwise return undefined
The value to check
If the unknown value is a string then return it as a string, otherwise return undefined