MCPcopy Index your code
hub / github.com/formatjs/formatjs / IsCallable

Function IsCallable

packages/ecma262-abstract/ToPrimitive.ts:11–13  ·  view source on GitHub ↗
(fn: any)

Source from the content-addressed store, hash-verified

9}
10
11function IsCallable(fn: any): fn is Function {
12 return typeof fn === 'function'
13}
14
15function OrdinaryToPrimitive<
16 T extends 'string' | 'number' = 'string' | 'number',

Callers 1

OrdinaryToPrimitiveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected