Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/std
/ isPromiseLike
Function
isPromiseLike
async/unstable_throttle.ts:170–172 ·
view source on GitHub ↗
(obj: unknown)
Source
from the content-addressed store, hash-verified
168
}
169
170
function
isPromiseLike(obj: unknown): obj is PromiseLike<unknown> {
171
return
typeof (obj as PromiseLike<unknown>)?.then ===
"function"
;
172
}
Callers
1
throttle
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected