function tailimport { tail } from "https://dotland.deno.dev/x/rambda@9.4.1/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