function takeWhileimport { takeWhile } from "https://dotland.deno.dev/x/rambda@9.4.1/index.d.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[]