MCPcopy
hub / github.com/Effect-TS/effect / pickLiteral

Function pickLiteral

packages/effect/src/Schema.ts:735–736  ·  view source on GitHub ↗
(...literals: L)

Source from the content-addressed store, hash-verified

733 */
734export const pickLiteral =
735 <A extends AST.LiteralValue, L extends array_.NonEmptyReadonlyArray<A>>(...literals: L) =>
736 <I, R>(_schema: Schema<A, I, R>): Literal<[...L]> => Literal(...literals)
737
738/**
739 * @category constructors

Callers

nothing calls this directly

Calls 1

LiteralFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…