function takeWhileimport { takeWhile } from "https://deno.land/x/rambda@9.4.1/immutable.d.ts"; takeWhile(fn: Predicate<string>, iterable: string): stringtakeWhile(fn: Predicate<string>): (iterable: string) => stringtakeWhile<T>(fn: Predicate<T>, iterable: readonly T[]): readonly T[]takeWhile<T>(fn: Predicate<T>): (iterable: readonly T[]) => readonly T[]Parametersfn: Predicate<string>iterable: stringReturnsstringParametersfn: Predicate<string>Returns(iterable: string) => stringType ParametersTParametersfn: Predicate<T>iterable: readonly T[]Returnsreadonly T[]Type ParametersTParametersfn: Predicate<T>Returns(iterable: readonly T[]) => readonly T[]