Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/postcss/postcss
/ isPromise
Function
isPromise
lib/lazy-result.js:49–51 ·
view source on GitHub ↗
(obj)
Source
from the content-addressed store, hash-verified
47
const
CHILDREN = 0
48
49
function
isPromise(obj) {
50
return
typeof obj ===
'object'
&& typeof obj.then ===
'function'
51
}
52
53
function
getEvents(node) {
54
let
key = false
Callers
4
runAsync
Method · 0.85
runOnRoot
Method · 0.85
sync
Method · 0.85
visitSync
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…