Optional
value: null | booleanThe string to convert.
The string "true"
if the boolean strict equals true
, otherwise the string "false"
.
boolToString(true) // "true"
boolToString(false) // "false"
boolToString(null) // "false"
boolToString(undefined) // "false"
Generated using TypeDoc
Converts a boolean to a string value.