UNPKG

logicguru-engine

Version:

Advanced JSON-based rule engine with nested conditions, async evaluation, and flexible action system. Perfect for business rules, workflows, and decision automation.

4 lines (3 loc) 118 B
export function findInObject(obj, path) { return path.split('.').reduce((acc, part) => acc && acc[part], obj); }