MCPcopy
hub / github.com/prisma/prisma / map

Function map

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

Source from the content-addressed store, hash-verified

20 ok: true,
21 value,
22 map(fn) {
23 return ok(fn(value))
24 },
25 flatMap(fn) {
26 return fn(value)
27 },

Callers 3

tests.tsFile · 0.85
createBuildOptionsFunction · 0.85
_matrixFunction · 0.85

Calls 3

okFunction · 0.85
errFunction · 0.85
fnFunction · 0.50

Tested by

no test coverage detected