Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axe-api/axe-api
/ isHandlerFunction
Function
isHandlerFunction
packages/axe-api/src/Services/ConverterService.ts:50–52 ·
view source on GitHub ↗
(callback: any)
Source
from the content-addressed store, hash-verified
48
};
49
50
export
const
isHandlerFunction = (callback: any): boolean => {
51
return
callback.length === 2;
52
};
53
54
export
const
isPhaseFunction = (callback: any): boolean => {
55
return
callback.length === 1;
Callers
1
toPhaseFunction
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected