ai-tube / src /app /api /parsers /parseString.ts
jbilcke-hf's picture
jbilcke-hf HF staff
upgraded to @aitube/client 0.0.12
f24ad59
raw
history blame
175 Bytes
export function parseString(something: any): string {
let result: string = ""
if (typeof something === "string") {
result = `${something}`.trim()
}
return result
}