MCPcopy Index your code
hub / github.com/cujojs/when / assertIsPromise

Function assertIsPromise

test/callbacks-test.js:10–12  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

8var sentinel = { value: 'sentinel' };
9
10function assertIsPromise(arg) {
11 assert(when.isPromiseLike(arg));
12}
13
14function async(f, x, thisArg) {
15 setTimeout(function() {

Callers 1

callbacks-test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…