<<<<<<< HEAD Code Wars - Brett Crafton

Convert boolean values to strings 'Yes' or 'No'

Question

Complete the method that takes a boolean value and return a "Yes" string for true, or a "No" string for false.

No examples

Solution by -

My Solution


	function boolToWord( bool ){
		return bool ? "Yes" : "No"
		}
				

Try it yourself - CodeWars

======= Code Wars - Brett Crafton

Convert boolean values to strings 'Yes' or 'No'

Question

Complete the method that takes a boolean value and return a "Yes" string for true, or a "No" string for false.

No examples

Solution by -

My Solution


	function boolToWord( bool ){
		return bool ? "Yes" : "No"
		}
				

Try it yourself - CodeWars

>>>>>>> 0e614172debaa009c8d31330edbeb3b765b59c39