jsaddle-0.9.7.0: Interface for JavaScript that works with GHCJS and GHC
GHCJS.Foreign
Description
jsTrue :: JSVal Source #
jsFalse :: JSVal Source #
jsNull :: JSVal Source #
toJSBool :: Bool -> JSVal Source #
jsUndefined :: JSVal Source #
isTruthy :: JSVal -> GHCJSPure Bool Source #
isNull :: JSVal -> GHCJSPure Bool Source #
isUndefined :: JSVal -> GHCJSPure Bool Source #
isObject :: JSVal -> GHCJSPure Bool Source #
isFunction :: JSVal -> GHCJSPure Bool Source #
isString :: JSVal -> GHCJSPure Bool Source #
isBoolean :: JSVal -> GHCJSPure Bool Source #
isSymbol :: JSVal -> GHCJSPure Bool Source #
isNumber :: JSVal -> GHCJSPure Bool Source #
data JSType Source #
Constructors
implementation dependent
Defined in GHCJS.Foreign.Internal
Methods
succ :: JSType -> JSType #
pred :: JSType -> JSType #
toEnum :: Int -> JSType #
fromEnum :: JSType -> Int #
enumFrom :: JSType -> [JSType] #
enumFromThen :: JSType -> JSType -> [JSType] #
enumFromTo :: JSType -> JSType -> [JSType] #
enumFromThenTo :: JSType -> JSType -> JSType -> [JSType] #
(==) :: JSType -> JSType -> Bool #
(/=) :: JSType -> JSType -> Bool #
compare :: JSType -> JSType -> Ordering #
(<) :: JSType -> JSType -> Bool #
(<=) :: JSType -> JSType -> Bool #
(>) :: JSType -> JSType -> Bool #
(>=) :: JSType -> JSType -> Bool #
max :: JSType -> JSType -> JSType #
min :: JSType -> JSType -> JSType #
showsPrec :: Int -> JSType -> ShowS #
show :: JSType -> String #
showList :: [JSType] -> ShowS #
jsTypeOf :: JSVal -> GHCJSPure JSType Source #