function asString asString(value: unknown): string Narrow an unknown value to string, defaulting to "" if not a string. Replaces typeof x === "string" ? x : "" at type boundaries. Parameters value: unknown Return Type string