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