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