function takeLastWhileimport { takeLastWhile } from "https://deno.land/x/rambda@9.2.1/mod.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[]