Full threadCapacitorSet·That might be clever, but aside from possible performance gains it's worse than the trivial alternative arr.map(it => it.trim()).View on HN