function endsWithimport { endsWith } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; endsWith<T extends string>(question: T, str: string): booleanendsWith<T extends string>(question: T): (str: string) => booleanendsWith<T>(question: T[], list: T[]): booleanendsWith<T>(question: T[]): (list: T[]) => booleanType ParametersT extends stringParametersquestion: Tstr: stringReturnsbooleanType ParametersT extends stringParametersquestion: TReturns(str: string) => booleanType ParametersTParametersquestion: T[]list: T[]ReturnsbooleanType ParametersTParametersquestion: T[]Returns(list: T[]) => boolean