function takeLastWhileimport { takeLastWhile } from "https://dotland.deno.dev/x/rambda@9.4.1/index.d.ts"; takeLastWhile(predicate: (x: string) => boolean, input: string): stringtakeLastWhile(predicate: (x: string) => boolean): (input: string) => stringtakeLastWhile<T>(predicate: (x: T) => boolean, input: T[]): T[]takeLastWhile<T>(predicate: (x: T) => boolean): <T>(input: T[]) => T[]Parameterspredicate: (x: string) => booleaninput: stringReturnsstringParameterspredicate: (x: string) => booleanReturns(input: string) => stringType ParametersTParameterspredicate: (x: T) => booleaninput: T[]ReturnsT[]Type ParametersTParameterspredicate: (x: T) => booleanReturns<T>(input: T[]) => T[]