@hclsoftware/secagent
Version:
IAST agent
22 lines (21 loc) • 488 B
TypeScript
export default function pickDeep(
obj: any,
paths: string | RegExp | (string | RegExp)[],
options?: {
checkCircular?: boolean;
keepCircular?: boolean;
replaceCircularBy?: any;
condense?: boolean;
cloneDeep?: (value: any) => any;
onMatch?: {
skipChildren?: boolean;
cloneDeep?: boolean;
keepIfEmpty?: boolean;
};
onNotMatch?: {
skipChildren?: boolean;
cloneDeep?: boolean;
keepIfEmpty?: boolean;
};
}
): any;