({
take: [{ type: "list" }, { type: "toggle", label: "Case sensitive" }],
make: ([list, toggle]) => {
const compare = toggle ? list : list.map((w) => w.toLowerCase())
return list.filter(
(t, i) => compare.indexOf(toggle ? t : t.toLowerCase()) === i
)
},
})