CommandHelper Build #3546-

Be aware that this branch (booleanish) is not the main branch (master)!

Go to main branch View stable downloads

Project CommandHelper
Branch booleanish
Number #3546-
Date 7 months ago

Sponsored by BeastNode
ID Summary Committer Date
c4ae56e3 Add a Booleanish interface. This allows objects to specifically declare that, while not booleans themselves (except CBoolean), they do have a way to convert to a truth value. This distinction allows functions like if and for to formally declare that they accept a Booleanish value, but others, will only accept an actual boolean value. As it stands today, everything accepts booleanish values, and that is unfortunate, but that will be addressed when strong typing is added, so that it will reduce most of the errors that would be runtime. ladycailin 7 months ago