function splitAtimport { splitAt } from "https://dotland.deno.dev/x/rambda@9.4.1/rambda.js"; splitAt<T>(index: number, input: T[]): [T[], T[]]It splits string or array at a given index. splitAt(index: number, input: string): [string, string]splitAt(index: number): { <T>(input: T[]): [T[], T[]]; (input: string): [string, string]; }It splits string or array at a given index. Type ParametersTParametersindex: numberinput: T[]Returns[T[], T[]]Parametersindex: numberinput: stringReturns[string, string]Parametersindex: numberReturns{ <T>(input: T[]): [T[], T[]]; (input: string): [string, string]; }