query
On this page

boolToString

lib.boolToString

Docs pulled from | This Revision | 31 minutes ago


Convert a boolean to a string.

This function uses the strings "true" and "false" to represent boolean values. Calling toString on a bool instead returns "1" and "" (sic!).

Inputs

b

1. Function argument

Type

boolToString :: bool -> string
(lib.trivial.boolToString)

Noogle also knows

Aliases