function dropLastWhileimport { dropLastWhile } from "https://dotland.deno.dev/x/rambda@9.4.1/index.d.ts"; dropLastWhile(predicate: (x: string) => boolean, iterable: string): stringdropLastWhile(predicate: (x: string) => boolean): (iterable: string) => stringdropLastWhile<T>(predicate: (x: T) => boolean, iterable: T[]): T[]dropLastWhile<T>(predicate: (x: T) => boolean): <T>(iterable: T[]) => T[]Parameterspredicate: (x: string) => booleaniterable: stringReturnsstringParameterspredicate: (x: string) => booleanReturns(iterable: string) => stringType ParametersTParameterspredicate: (x: T) => booleaniterable: T[]ReturnsT[]Type ParametersTParameterspredicate: (x: T) => booleanReturns<T>(iterable: T[]) => T[]