function splitAtimport { splitAt } from "https://deno.land/x/rambda@9.2.1/mod.ts"; 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]; }