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

Function isError

packages/effect/src/Predicate.ts:711–711  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

709 * @since 2.0.0
710 */
711export const isError = (input: unknown): input is Error => input instanceof Error
712
713/**
714 * A refinement that checks if a value is a `Uint8Array`.

Callers 1

errorToJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected