jsaddle-0.8.0.1: 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