function splitAtimport { splitAt } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; splitAt<T>(index: number, input: T[]): [T[], T[]]splitAt(index: number, input: string): [string, string]splitAt(index: number): { <T>(input: T[]): [T[], T[]]; (input: string): [string, string]; }Type ParametersTParametersindex: numberinput: T[]Returns[T[], T[]]Parametersindex: numberinput: stringReturns[string, string]Parametersindex: numberReturns{ <T>(input: T[]): [T[], T[]]; (input: string): [string, string]; }