Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. toJSBool :: Bool -> JSVal

    jsaddle Language.Javascript.JSaddle.Value

    No documentation available.

  2. valBool :: Bool -> JSVal

    jsaddle Language.Javascript.JSaddle.Value

    A JavaScript boolean value

  3. valToBool :: ToJSVal value => value -> JSM Bool

    jsaddle Language.Javascript.JSaddle.Value

    Given a JavaScript value get its boolean value. All values in JavaScript convert to bool.

    >>> testJSaddle $ valToBool JSNull
    false
    
    >>> testJSaddle $ valToBool ()
    false
    
    >>> testJSaddle $ valToBool True
    true
    
    >>> testJSaddle $ valToBool False
    false
    
    >>> testJSaddle $ valToBool (1.0 :: Double)
    true
    
    >>> testJSaddle $ valToBool (0.0 :: Double)
    false
    
    >>> testJSaddle $ valToBool ""
    false
    
    >>> testJSaddle $ valToBool "1"
    true
    

  4. type KnownBool = KnownRepr BoolRepr

    parameterized-utils Data.Parameterized.BoolRepr

    No documentation available.

  5. someBool :: Bool -> Some BoolRepr

    parameterized-utils Data.Parameterized.BoolRepr

    No documentation available.

  6. fin2Bool :: Iso' (Fin 2) Bool

    parameterized-utils Data.Parameterized.Fin

    No documentation available.

  7. cmdBool :: String -> [String] -> IO Bool

    simple-cmd SimpleCmd

    cmdBool c args runs a command, and return Boolean status

  8. pipeBool :: PipeCommand -> PipeCommand -> IO Bool

    simple-cmd SimpleCmd

    Bool result of piping of commands @since 0.2.0 Returns False if either command fails (since 0.2.4).

  9. shellBool :: String -> IO Bool

    simple-cmd SimpleCmd

    shellBool cs runs a command string in a shell, output goes to stdout

  10. gitBool :: String -> [String] -> IO Bool

    simple-cmd SimpleCmd.Git

    gitBool c args runs git command and return result

Page 92 of many | Previous | Next