@hclsoftware/secagent
Version:
IAST agent
15 lines (13 loc) • 354 B
TypeScript
import { Path } from "./Path";
export default function paths(
obj: any,
options?: {
pathFormat?: "string" | "array"; // = "string";
checkCircular?: boolean; // = false;
includeCircularPath?: boolean,
childrenPath?: Path[];
includeRoot?: boolean;
leavesOnly?: boolean; // = false;
rootIsChildren?: boolean;
}
): Path[];