function tailimport { tail } from "https://dotland.deno.dev/x/rambda@v9.2.0/index.d.ts"; tail<T extends unknown[]>(input: T): T extends [any, ...infer U] ? U : [...T]It returns all but the first element of input. tail(input: string): stringIt returns all but the first element of input. Type ParametersT extends unknown[]Parametersinput: TReturnsT extends [any, ...infer U] ? U : [...T]Parametersinput: stringReturnsstring