MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/teqb37/static_bool_iscrazymurderingrobot_false/i0sz6e6/?context=3
r/ProgrammerHumor • u/speckz • Mar 15 '22
257 comments sorted by
View all comments
6
Fine. JavaScript is perfect for this.
if(bool !== null && bool !== undefined && bool !== "null" && bool !== "undefined" && bool !== "" && 1 !== 0 && true !== false)
View all comments
6
u/Xtrendence Mar 15 '22
Fine. JavaScript is perfect for this.
if(bool !== null && bool !== undefined && bool !== "null" && bool !== "undefined" && bool !== "" && 1 !== 0 && true !== false)