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

Function TemplateLiteral

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

Source from the content-addressed store, hash-verified

2873 * @since 3.10.0
2874 */
2875export function TemplateLiteral<const Parts extends TemplateLiteral.Parts>(parts: Parts): TemplateLiteral<Parts> {
2876 return make(new SchemaAST.TemplateLiteral(templateLiteralParts(parts)), { parts })
2877}
2878/**
2879 * Namespace for {@link TemplateLiteralParser} helper types.
2880 *

Callers

nothing calls this directly

Calls 2

templateLiteralPartsFunction · 0.85
makeFunction · 0.70

Tested by

no test coverage detected