Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
ai-tube
like
282
Running
App
Files
Files
Community
10
Fetching metadata from the HF Docker repository...
67f97d0
ai-tube
/
src
/
app
/
api
/
utils
/
parseString.ts
jbilcke-hf
HF staff
working on some new features
3d4392e
10 months ago
raw
Copy download link
history
blame
Safe
175 Bytes
export
function
parseString
(
something:
any
):
string
{
let
result
:
string
=
""
if
(
typeof
something ===
"string"
) {
result =
`
${something}
`
.
trim
()
}
return
result
}