MCPcopy Create free account
hub / github.com/effect-app/libs / isJsonError

Function isJsonError

repos/effect/packages/effect/src/SchemaTransformation.ts:1013–1014  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

1011 *
1012 * const schema = Schema.BigInt.pipe(
1013 * Schema.decodeTo(Schema.Duration, SchemaTransformation.durationFromNanos)
1014 * )
1015 * String(Schema.decodeSync(schema)(5n)) // => "5 nanos"
1016 * ```
1017 *

Callers 1

decodeDefectFunction · 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…