MCPcopy
hub / github.com/mobxjs/mobx / isFunction

Function isFunction

packages/mobx/src/utils/utils.ts:62–64  ·  view source on GitHub ↗
(fn: any)

Source from the content-addressed store, hash-verified

60export const noop = () => {}
61
62export function isFunction(fn: any): fn is Function {
63 return typeof fn === "function"
64}
65
66export function isString(value: any): value is string {
67 return typeof value === "string"

Callers 15

constructorMethod · 0.85
assertActionDescriptorFunction · 0.85
assertFlowDescriptorFunction · 0.85
constructorMethod · 0.85
getAtomFunction · 0.85
eqFunction · 0.85
createActionFunction · 0.85
nextFunction · 0.85
cancelPromiseFunction · 0.85
interceptFunction · 0.85
computed.tsFile · 0.85
isAnnotationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…