Ruby Cheat Sheet

ruby

[1,2,3].all { |e| e.even? }
python

all(len(g) % 2 == 0 for g in groups)
javascript

[2, 4, 6].every((x) => x % 2 === 0);
go

rust