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

Function getThen

packages/react-error-overlay/fixtures/bundle_u.mjs:12983–12990  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

12981var LAST_ERROR = null;
12982var IS_ERROR = {};
12983function getThen(obj) {
12984 try {
12985 return obj.then;
12986 } catch (ex) {
12987 LAST_ERROR = ex;
12988 return IS_ERROR;
12989 }
12990}
12991
12992function tryCallOne(fn, a) {
12993 try {

Callers 1

resolveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected