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

Function isFunction

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

Source from the content-addressed store, hash-verified

31}
32
33export const isFunction = function (fn) {
34 return typeof fn === 'function'
35}
36
37export const isAsyncFunction = function (fn) {
38 if (!fn) return false

Callers 6

hooks.jsFile · 0.90
getFunction · 0.90
_ensureInitializedMethod · 0.90
_initWorkersMethod · 0.90
splitTestsByGroupsMethod · 0.90
pushToMethodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected