MCPcopy Index your code
hub / github.com/Effect-TS/effect / of

Function of

packages/effect/src/List.ts:277–277  ·  view source on GitHub ↗
(value: A)

Source from the content-addressed store, hash-verified

275 * @category constructors
276 */
277export const of = <A>(value: A): Cons<A> => makeCons(value, _Nil)
278
279/**
280 * Creates a new `List` from an iterable collection of values.

Callers 1

List.tsFile · 0.70

Calls 1

makeConsFunction · 0.85

Tested by

no test coverage detected