function partitionimport { partition } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts"; partition<T>(predicate: Predicate<T>, input: T[]): [T[], T[]]partition<T>(predicate: Predicate<T>): (input: T[]) => [T[], T[]]partition<T>(predicate: (x: T, prop?: string) => boolean, input: { [key: string]: T; }): [{ [key: string]: T; }, { [key: string]: T; }]partition<T>(predicate: (x: T, prop?: string) => boolean): (input: { [key: string]: T; }) => [{ [key: string]: T; }, { [key: string]: T; }]Type ParametersTParameterspredicate: Predicate<T>input: T[]Returns[T[], T[]]Type ParametersTParameterspredicate: Predicate<T>Returns(input: T[]) => [T[], T[]]Type ParametersTParameterspredicate: (x: T, prop?: string) => booleaninput: { [key: string]: T; }Returns[{ [key: string]: T; }, { [key: string]: T; }]Type ParametersTParameterspredicate: (x: T, prop?: string) => booleanReturns(input: { [key: string]: T; }) => [{ [key: string]: T; }, { [key: string]: T; }]