MCPcopy
hub / github.com/angular-ui/ui-router / isPromiseLike

Function isPromiseLike

test/angular/1.6/angular.js:870–872  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

868
869
870function isPromiseLike(obj) {
871 return obj && isFunction(obj.then);
872}
873
874
875var TYPED_ARRAY_REGEXP = /^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;

Callers 4

sendReqFunction · 0.70
createHttpBackendFunction · 0.70
handleCallbackFunction · 0.70
processAsyncValidatorsFunction · 0.70

Calls 1

isFunctionFunction · 0.70

Tested by

no test coverage detected