MCPcopy
hub / github.com/formatjs/formatjs / IsCallable

Function IsCallable

packages/ecma262-abstract/OrdinaryHasInstance.ts:1–3  ·  view source on GitHub ↗
(fn: any)

Source from the content-addressed store, hash-verified

1function IsCallable(fn: any): fn is Function {
2 return typeof fn === 'function'
3}
4
5/**
6 * https://tc39.es/ecma262/#sec-ordinaryhasinstance

Callers 1

OrdinaryHasInstanceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected