export default function allPass(predicates: Array<(_: T) => boolean>): (__: T) => boolean