execution-engine
Version:
A TypeScript library for tracing and visualizing code execution workflows.
15 lines (14 loc) • 553 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.isNodeTrace = void 0;
exports.isEngineNodeTrace = isEngineNodeTrace;
function isEngineNodeTrace(config) {
return typeof config === 'object' && ('id' in config || 'label' in config || 'parent' in config);
}
/**
* @deprecated Use `isEngineNodeTrace` instead.
*
* ⚠️ `isNodeTrace` is deprecated and will be removed in a future release.
* Migrate to `isEngineNodeTrace` to ensure compatibility with future updates.
*/
exports.isNodeTrace = isEngineNodeTrace;
;