Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/preactjs/preact
/ isThenable
Function
isThenable
test-utils/src/index.js:13–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
}
12
13
const
isThenable = value => value != null && typeof value.then ==
'function'
;
14
15
/** Depth of nested calls to `act`. */
16
let
actDepth = 0;
Callers
1
act
Function · 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…