MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / isPromiseLike

Function isPromiseLike

OpenReservation/wwwroot/Scripts/angular.js:707–709  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

705 }
706
707 function isPromiseLike(obj) {
708 return obj && isFunction(obj.then);
709 }
710
711 var TYPED_ARRAY_REGEXP = /^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/;
712

Callers 4

sendReqFunction · 0.85
createHttpBackendFunction · 0.85
handleCallbackFunction · 0.85
processAsyncValidatorsFunction · 0.85

Calls 1

isFunctionFunction · 0.85

Tested by

no test coverage detected