MCPcopy Create free account
hub / github.com/DanWahlin/MasteringJavaScriptCourseCode / coerce

Function coerce

Mastering JavaScript/js/libs/q.js:1093–1103  ·  view source on GitHub ↗

* Converts thenables to Q promises. * @param promise thenable promise * @returns a Q promise

(promise)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

QFunction · 0.70

Calls 3

rejectMethod · 0.80
deferFunction · 0.70
thenMethod · 0.65

Tested by

no test coverage detected