UNPKG

execution-engine

Version:

A TypeScript library for tracing and visualizing code execution workflows.

8 lines (7 loc) 256 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isAsync = isAsync; // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type function isAsync(func) { return func.constructor.name === 'AsyncFunction'; }