function apertureimport { aperture } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts"; aperture<N extends number, T>(n: N, list: readonly T[]): ReadonlyArray<Tuple<T, N>> | readonly []It returns a new list, composed of consecutive n-tuples from a list. aperture<N extends number>(n: N): <T>(list: readonly T[]) => ReadonlyArray<Tuple<T, N>> | readonly []It returns a new list, composed of consecutive n-tuples from a list. Type ParametersN extends numberTParametersn: Nlist: readonly T[]ReturnsReadonlyArray<Tuple<T, N>> | readonly []Type ParametersN extends numberParametersn: NReturns<T>(list: readonly T[]) => ReadonlyArray<Tuple<T, N>> | readonly []