jsaddle-0.9.9.2: Interface for JavaScript that works with GHCJS and GHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.JSString.Text

Description

Conversion between Text and JSString

Synopsis

Documentation

textFromJSVal :: JSVal -> GHCJSPure Text Source #

returns the empty Text if not a string

lazyTextFromJSVal :: JSVal -> GHCJSPure Text Source #

returns the empty Text if not a string