Spaces:
Running
Running
export function parseString(something: any): string { | |
let result: string = "" | |
if (typeof something === "string") { | |
result = `${something}`.trim() | |
} | |
return result | |
} |