Skip to main content
5 events
when toggle format what by license comment
Jul 22, 2019 at 23:41 comment added Cliff B No. return true will spit out 1. Return false will spit out 0. Also, any integer other than 0 will evaluate as true. Remember, numbers and bools can be cast as each other.
Jul 22, 2019 at 23:19 vote accept dino
Jul 22, 2019 at 23:18 comment added dino Well, that was an easy fix! Thank you @CliffB! Just to make sure I understand things correctly, return 0 means false but return true also spits out 0?
Jul 22, 2019 at 22:51 history edited Cliff B CC BY-SA 4.0
added 52 characters in body
Jul 22, 2019 at 22:45 history answered Cliff B CC BY-SA 4.0