function partitionIndexedimport { partitionIndexed } from "https://deno.land/x/rambda@9.3.0/files/index.d.ts"; partitionIndexed<T>(predicate: IndexedPredicate<T>, input: T[]): [T[], T[]]partitionIndexed<T>(predicate: IndexedPredicate<T>): (input: T[]) => [T[], T[]]partitionIndexed<T>(predicate: (x: T, prop?: string) => boolean, input: { [key: string]: T; }): [{ [key: string]: T; }, { [key: string]: T; }]partitionIndexed<T>(predicate: (x: T, prop?: string) => boolean): (input: { [key: string]: T; }) => [{ [key: string]: T; }, { [key: string]: T; }]Type ParametersTParameterspredicate: IndexedPredicate<T>input: T[]Returns[T[], T[]]Type ParametersTParameterspredicate: IndexedPredicate<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; }]