deepdash
Version:
➔ 𝐃eep standalone lib / 𝐋odash extension: ✓ eachDeep ✓ filterDeep ✓ mapDeep ✓ reduceDeep ✓ pickDeep ✓ omitDeep ✓ keysDeep ✓ index ✓ condenseDeep ⋮ Parents stack ⋮ Circular check ⋮ Leaves only mode ⋮ Children mode ⋮ cherry-pick ⋮ esm
17 lines (16 loc) • 376 B
TypeScript
import { Path } from "./Path";
import { IDeepEntry } from "./IDeepEntry";
export interface IIterateeContext {
path?: Path;
childrenPath?: Path;
parent?: IDeepEntry;
parents?: IDeepEntry[];
obj: any;
depth: number;
isCircular?: boolean;
circularParent?: any;
circularParentIndex?: number;
isLeaf: boolean;
break?: () => false;
afterIterate?: boolean;
}