jsaddle-0.9.7.0: Interface for JavaScript that works with GHCJS and GHC

Safe HaskellNone
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