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

Function isValidSuccess

packages/effect/src/ui/Query.ts:6733–6739  ·  view source on GitHub ↗
(entry: Entry, value: unknown)

Source from the content-addressed store, hash-verified

6731 }
6732 }
6733 const isValidSuccess = (entry: Entry, value: unknown): boolean => {
6734 try {
6735 return entry.def.codec().isSuccess(value)
6736 } catch {
6737 return true
6738 }
6739 }
6740 const storeWrite = (
6741 entry: Entry,
6742 value: unknown,

Callers 1

beginRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected