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

Function of

packages/effect/src/Array.ts:3409–3409  ·  view source on GitHub ↗
(a: A)

Source from the content-addressed store, hash-verified

3407 * @since 2.0.0
3408 */
3409export const of = <A>(a: A): NonEmptyArray<A> => [a]
3410
3411/**
3412 * Utility types for working with `ReadonlyArray` at the type level. Use these

Callers 1

Array.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected