Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 1017 Bytes

schrodingers_boolean.md

File metadata and controls

43 lines (36 loc) · 1017 Bytes
Can a value be both `true` and `false`?

Define `omniBool` so that it returns `true` for the following:
Can a value be both `True` and `False`?

Define `omnibool` so that it returns `True` for the following:
Can a value be both `true` and `false`?

Define `omnibool` so that it returns `true` for the following:
Can a value be both `true` and `false`?

Define `omnibool` so that it returns `true` for the following:
Can a value be both `True` and `False`?

Define `OmniBool` so that it returns `True` for the following:
omniBool == true && omniBool == false
omniBool == true && omniBool == false
omnibool == True and omnibool == False
omnibool == true && Omnibool == false
omniBool == True && omniBool == False

If you enjoyed this kata, be sure to check out my other katas.