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

Function TemplateLiteralParser

packages/effect/src/Schema.ts:2964–2968  ·  view source on GitHub ↗
(
  parts: Parts
)

Source from the content-addressed store, hash-verified

2962 * @since 3.10.0
2963 */
2964export function TemplateLiteralParser<const Parts extends TemplateLiteral.Parts>(
2965 parts: Parts
2966): TemplateLiteralParser<Parts> {
2967 return make(SchemaAST.templateLiteralParser(templateLiteralParts(parts)), { parts })
2968}
2969/**
2970 * Type-level representation returned by {@link Enum}.
2971 *

Callers

nothing calls this directly

Calls 2

templateLiteralPartsFunction · 0.85
makeFunction · 0.70

Tested by

no test coverage detected