function sliceimport { slice } from "https://dotland.deno.dev/x/rambda@9.4.1/rambda.js"; slice(from: number,to: number,input: string,): stringslice<T>(from: number,to: number,input: T[],): T[]slice(from: number, to: number): { (input: string): string; <T>(input: T[]): T[]; }slice(from: number): { (to: number, input: string): string; <T>(to: number, input: T[]): T[]; }Parametersfrom: numberto: numberinput: stringReturnsstringType ParametersTParametersfrom: numberto: numberinput: T[]ReturnsT[]Parametersfrom: numberto: numberReturns{ (input: string): string; <T>(input: T[]): T[]; }Parametersfrom: numberReturns{ (to: number, input: string): string; <T>(to: number, input: T[]): T[]; }