MCPcopy
hub / github.com/react/create-react-app / getThen

Function getThen

packages/react-error-overlay/fixtures/bundle.mjs:12823–12830  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

12821var LAST_ERROR = null;
12822var IS_ERROR = {};
12823function getThen(obj) {
12824 try {
12825 return obj.then;
12826 } catch (ex) {
12827 LAST_ERROR = ex;
12828 return IS_ERROR;
12829 }
12830}
12831
12832function tryCallOne(fn, a) {
12833 try {

Callers 1

resolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected