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

Function flip

repos/effect/packages/effect/src/Result.ts:1521–1522  ·  view source on GitHub ↗
(self: Result<A, E>)

Source from the content-addressed store, hash-verified

1519 * Creates a `Result<{}>` (success with an empty object). Use with
1520 * {@link bind} to add `Result`-producing fields and {@link let_ let}
1521 * to add pure computed fields.
1522 *
1523 * **Example** (Building an object step by step)
1524 *
1525 * ```ts import.meta.vitest

Callers

nothing calls this directly

Calls 3

succeedFunction · 0.70
failFunction · 0.70
isFailureFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…