MCPcopy Create free account
hub / github.com/codrops/RainEffect / isPromise

Function isPromise

demo/js/main.js:2665–2667  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

2663
2664// helpers
2665var isPromise = function(it){
2666 return isObject(it) && (useNative ? classof(it) == 'Promise' : RECORD in it);
2667};
2668var sameConstructor = function(a, b){
2669 // library wrapper special case
2670 if(LIBRARY && a === P && b === Wrapper)return true;

Callers 1

main.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected