Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/angular/angular-cli
/ isPromiseLike
Function
isPromiseLike
packages/angular_devkit/schematics/src/sink/sink.ts:178–180 ·
view source on GitHub ↗
(value: U | PromiseLike<T>)
Source
from the content-addressed store, hash-verified
176
}
177
178
function
isPromiseLike<T, U = unknown>(value: U | PromiseLike<T>): value is PromiseLike<T> {
179
return
!!value && typeof (value as PromiseLike<T>).then ===
'function'
;
180
}
Callers
1
commit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected