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