// @flow export default function splitEvery(n: number, list: T[]): T[][]