query
On this page

boolToString

lib.trivial.boolToString

Docs pulled from | This Revision | 17 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

Noogle also knows

Aliases