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

Function len

repos/effect/packages/effect/test/Function.test.ts:82–82  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

80 describe("apply", () => {
81 it("applies a value to a function", () => {
82 const len = (s: string) => s.length
83 assert.strictEqual(F.apply("hello")(len), 5)
84 })
85

Callers 1

Array.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected