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

Function f

packages/effect/test/Function.test.ts:166–166  ·  view source on GitHub ↗
(a: number)

Source from the content-addressed store, hash-verified

164 describe("flip", () => {
165 it("reverses the order of curried arguments", () => {
166 const f = (a: number) => (b: string) => a - b.length
167 assert.strictEqual(F.flip(f)("aaa")(2), -1)
168 })
169 })

Callers 1

Function.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected