MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / isAsyncFunction

Function isAsyncFunction

lib/utils.js:37–40  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

35}
36
37export const isAsyncFunction = function (fn) {
38 if (!fn) return false
39 return fn[Symbol.toStringTag] === 'AsyncFunction'
40}
41
42export const resolveImportModulePath = function (modulePath) {
43 // 1. If it's an absolute path, convert to a file:// URL

Callers 9

sessionFunction · 0.90
withinFunction · 0.90
hooks.jsFile · 0.90
prepareStepFunction · 0.90
createHelpersFunction · 0.90
getFunction · 0.90
configMethod · 0.90
loginFunctionFunction · 0.90
pushToMethodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected