function appendimport { append } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts"; append<T>(xToAppend: T, iterable: readonly T[]): readonly T[]It adds element x at the end of iterable. append<T, U>(xToAppend: T, iterable: readonly IsFirstSubtypeOfSecond<T, U>[]): readonly U[]append<T>(xToAppend: T): <U>(iterable: readonly IsFirstSubtypeOfSecond<T, U>[]) => readonly U[]append<T>(xToAppend: T): (iterable: readonly T[]) => readonly T[]It adds element x at the end of iterable. Type ParametersTParametersxToAppend: Titerable: readonly T[]Returnsreadonly T[]Type ParametersTUParametersxToAppend: Titerable: readonly IsFirstSubtypeOfSecond<T, U>[]Returnsreadonly U[]Type ParametersTParametersxToAppend: TReturns<U>(iterable: readonly IsFirstSubtypeOfSecond<T, U>[]) => readonly U[]Type ParametersTParametersxToAppend: TReturns(iterable: readonly T[]) => readonly T[]