Preparing search index...
The search index is not available
Literal String Sanitizer
Literal String Sanitizer
charset
Type alias charset<T>
charset
<
T
>
:
T
extends
`
${
infer
C
extends
string
}
${
infer
R
extends
string
}
`
?
C
|
charset
<
R
>
:
T
extends
""
?
never
:
T
Splits
T
to the union of chars. If
T
is an empty string, it resolves to
never
.
Type Parameters
T
extends
string
Settings
Theme
OS
Light
Dark
Literal
String
Sanitizer
default
charset
sanitize
Result
trim
Mode
unknown
Literal
parseable
Range
sanitize
Literal
Splits
Tto the union of chars. IfTis an empty string, it resolves tonever.