function sliceimport { slice } from "https://dotland.deno.dev/x/rambda@v9.2.0/immutable.d.ts"; slice(from: number,to: number,input: string,): stringslice<T>(from: number,to: number,input: readonly T[],): readonly T[]slice(from: number, to: number): { (input: string): string; <T>(input: readonly T[]): readonly T[]; }slice(from: number): { (to: number, input: string): string; <T>(to: number, input: readonly T[]): readonly T[]; }Parametersfrom: numberto: numberinput: stringReturnsstringType ParametersTParametersfrom: numberto: numberinput: readonly T[]Returnsreadonly T[]Parametersfrom: numberto: numberReturns{ (input: string): string; <T>(input: readonly T[]): readonly T[]; }Parametersfrom: numberReturns{ (to: number, input: string): string; <T>(to: number, input: readonly T[]): readonly T[]; }