MCPcopy
hub / github.com/NervJS/nerv / isFunction

Function isFunction

packages/nerv-utils/src/is.ts:13–15  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

11}
12
13export function isFunction (arg): arg is Function {
14 return typeof arg === 'function'
15}
16
17export function isBoolean (arg): arg is true | false {
18 return arg === true || arg === false

Callers 15

createElementFunction · 0.90
shouldComponentUpdateFunction · 0.90
useStateFunction · 0.90
useReducerFunction · 0.90
invokeEffectsFunction · 0.90
useImperativeHandleFunction · 0.90
errorHandlerFunction · 0.90
mountComponentFunction · 0.90
getChildContextFunction · 0.90
flushMountFunction · 0.90
reRenderComponentFunction · 0.90
updateComponentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected