things.every(thing => thing.type == 'hat' && thing.color == 'green')
things.some(things => thing.type != 'hat' || thing.color != 'green')
So only "E) The liar has no green hats" is true
The statement "All my hats are green" would map to
things.every(thing => thing.type != 'hat' || thing.color == 'green')
The negated form would then be
things.some(thing => thing.type == 'hat' && thing.color != 'green')
So only "E) The liar has no green hats" is true