Everything Be True - corner case logic issue

I think perhaps there is a small logic issue in the suggested solutions - it doesn’t properly check boolean properties

E.g. when onBoat == false, I think this should be truthy

However, each solution basically considers any valid boolean value of ‘false’ to be not truthy.

For example:

truthCheck([{“name”: “Pete”, “onBoat”: false}, {“name”: “Repeat”, “onBoat”: false}, {“name”: “FastFoward”, “onBoat”: false}], “onBoat”)

I would expect this to return TRUE, but because onBoat is assigned the value of FALSE, it returns False. I hope I’m being clear!

Got it - I took truthy to mean that the object both has the property, and the value is valid (different from the value being false). Guess I just didn’t quite understand what the criteria for “truthy” is!

Goldfish memory here! Thanks, Randell! You rock!