Convert Module
Types
| Type | Description |
Functions and values
| Function or value | Description |
|
|
Full Usage:
betweenQuotes input
Parameters:
string
Returns: string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
insideBrowser
Returns: bool
|
|
Full Usage:
isQuoted input
Parameters:
string
Returns: bool
|
|
|
|
Full Usage:
isUsingFable3
Returns: bool
|
|
|
|
Full Usage:
quoteText inputText
Parameters:
string
Returns: string
|
What quote.js does, for the .NET compilation of this vendored library: JSON string quoting per the spec - the two mandatory escapes plus control characters, everything else (non-ASCII included) left as it is, which is also what the JS side emits. This is the one JS import Convert.serialize reached for, so with it the serializer runs under .NET too and a test can pin the exact renderer-side encoding without running Fable.
|
Full Usage:
removeQuotes input
Parameters:
string
Returns: string
|
|
Full Usage:
serialize value typeInfo
Parameters:
objnull
typeInfo : TypeInfo
Returns: string
|
|
|
|
Full Usage:
usingFable3 ()
Parameters:
unit
Returns: bool
|