MCPcopy 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
50export const isHandlerFunction = (callback: any): boolean => {
51 return callback.length === 2;
52};
53
54export const isPhaseFunction = (callback: any): boolean => {
55 return callback.length === 1;

Callers 1

toPhaseFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected