MCPcopy Create free account
hub / github.com/Effect-TS/effect / is

Method is

packages/effect/src/unstable/socket/Socket.ts:372–374  ·  view source on GitHub ↗

* Returns `true` when the value is a `SocketError`. * * @since 4.0.0

(u: unknown)

Source from the content-addressed store, hash-verified

370 * @since 4.0.0
371 */
372 static is(u: unknown): u is SocketError {
373 return isSocketError(u)
374 }
375
376 override readonly message = this.reason.message
377}

Callers

nothing calls this directly

Calls 1

isSocketErrorFunction · 0.85

Tested by

no test coverage detected