Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
valToBool :: ToJSVal value => value -> JSM Booljsaddle 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
type
KnownBool = KnownRepr BoolReprparameterized-utils Data.Parameterized.BoolRepr No documentation available.
someBool :: Bool -> Some BoolReprparameterized-utils Data.Parameterized.BoolRepr No documentation available.
-
parameterized-utils Data.Parameterized.Fin No documentation available.
cmdBool :: String -> [String] -> IO Boolsimple-cmd SimpleCmd cmdBool c args runs a command, and return Boolean status
pipeBool :: PipeCommand -> PipeCommand -> IO Boolsimple-cmd SimpleCmd Bool result of piping of commands @since 0.2.0 Returns False if either command fails (since 0.2.4).
shellBool :: String -> IO Boolsimple-cmd SimpleCmd shellBool cs runs a command string in a shell, output goes to stdout
gitBool :: String -> [String] -> IO Boolsimple-cmd SimpleCmd.Git gitBool c args runs git command and return result
SwaggerBoolean :: forall (t :: SwaggerKind Type) . SwaggerType tswagger2 Data.Swagger No documentation available.
SwaggerBoolean :: forall (t :: SwaggerKind Type) . SwaggerType tswagger2 Data.Swagger.Internal No documentation available.