Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ is
Method
is
packages/platform/src/Socket.ts:161–163 ·
view source on GitHub ↗
* @since 1.0.0
(u: unknown)
Source
from the content-addressed store, hash-verified
159
* @since 1.0.0
160
*/
161
static is(u: unknown): u is SocketCloseError {
162
return
isSocketError(u) && u.reason ===
"Close"
163
}
164
165
/**
166
* @since 1.0.0
Callers
nothing calls this directly
Calls
1
isSocketError
Function · 0.85
Tested by
no test coverage detected