function takeWhileimport { takeWhile } from "https://dotland.deno.dev/x/rambda@v9.2.0/rambda.js"; 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[]