boolToYesNo
lib.boolToYesNo
Docs pulled from | This Revision | 9 minutes ago
Converts a boolean to a string.
This function uses the strings "yes" and "no" to represent boolean values.
Inputs
b-
The boolean to convert
Type
boolToYesNo :: bool -> string
Noogle detected
Implementation
The following is the current implementation of this function.
boolToYesNo = b: if b then "yes" else "no";