1 export function isString(val: any): val is string {
2 return val != null && typeof val === "string"
3 }