Closed
Description
As discussed in #4673, it is desirable to encourage the use of the standard bool
type rather than Arduino's boolean
alias. The first step is to document the bool
type in the Arduino reference.
- Create a
bool
reference page. Please don't capitalizebool
in the URL, that was a terrible idea. - Copy the documentation from the
boolean
reference page to thebool
reference page, changing all references to theboolean
type tobool
. - Replace the documentation in the
boolean
reference page with this:
boolean is a non-standard type alias for bool defined by Arduino. It's recommended to instead use the standard type bool, which is identical.
Once this has been done I will submit pull requests to remove the use of boolean
from all official Arduino code and request updates of any other documentation that uses it.