ghcjs-base-0.2.0.0: base library for GHCJS

Safe HaskellNone
LanguageHaskell98

Data.JSString.Text

Description

Conversion between Text and JSString

Synopsis

Documentation

textFromJSVal :: JSVal -> Text Source #

returns the empty Text if not a string

lazyTextFromJSVal :: JSVal -> Text Source #

returns the empty Text if not a string