Implement a function which will convert the given boolean value into its string representation.
So for the boolean false
, return "false"
and for the boolean true
, return "true"
Good luck!
This challenge comes from btaitelb on CodeWars. Thank you to CodeWars, who has licensed redistribution of this challenge under the 2-Clause BSD License!
Want to propose a challenge idea for a future post? Email yo+challenge@dev.to with your suggestions!