MCPcopy
hub / github.com/prisma/prisma / flatMap

Function flatMap

packages/driver-adapter-utils/src/result.ts:25–27  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

23 return ok(fn(value))
24 },
25 flatMap(fn) {
26 return fn(value)
27 },
28 }
29}
30

Callers

nothing calls this directly

Calls 2

errFunction · 0.85
fnFunction · 0.50

Tested by

no test coverage detected