Global.Unsafe 
- Package
- globals
- Repository
- purerl/purescript-globals
#unsafeStringify Source
unsafeStringify :: forall a. a -> StringUses the global JSON object to turn anything into a string. Careful! Trying to serialize functions returns undefined
#unsafeToFixed Source
unsafeToFixed :: Int -> Number -> StringFormats Number as a String with limited number of digits after the dot.
May throw RangeError if the number of digits is not within the allowed range (standard precision range is 0 to 20, but implementations may change it)
#unsafeToExponential Source
unsafeToExponential :: Int -> Number -> StringFormats Number as String in exponential notation limiting number of digits after the decimal dot.
May throw RangeError if the number of digits is not within the allowed range (standard precision range is 0 to 20, but implementations may change it)
#unsafeToPrecision Source
unsafeToPrecision :: Int -> Number -> StringFormats Number as String in fixed-point or exponential notation rounded to specified number of significant digits.
May throw RangeError if the number of digits is not within the allowed range (standard precision range is 0 to 100, but implementations may change it)
#unsafeDecodeURI Source
unsafeDecodeURI :: String -> StringURI decoding. May throw a URIError if given a value with undecodeable
escape sequences.
#unsafeEncodeURI Source
unsafeEncodeURI :: String -> StringURI encoding. May throw a URIError if given a value with unencodeable
characters.
#unsafeDecodeURIComponent Source
unsafeDecodeURIComponent :: String -> StringURI component decoding. May throw a URIError if given a value with
undecodeable escape sequences.
#unsafeEncodeURIComponent Source
unsafeEncodeURIComponent :: String -> StringURI component encoding. May throw a URIError if given a value with
unencodeable characters.
- Modules
- Global
- Global.Unsafe