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

Function isStringSymbol

packages/effect/src/SchemaAST.ts:4022–4035  ·  view source on GitHub ↗
(annotations?: Schema.Annotations.Filter)

Source from the content-addressed store, hash-verified

4020
4021/** @internal */
4022export function isStringSymbol(annotations?: Schema.Annotations.Filter) {
4023 return isPattern(
4024 isStringSymbolRegExp,
4025 {
4026 expected: "a string representing a symbol",
4027 representation: {
4028 id: "effect/schema/isStringSymbol",
4029 payload: null
4030 },
4031 toJsonSchema: () => ({ pattern: isStringSymbolRegExp.source }),
4032 ...annotations
4033 }
4034 )
4035}
4036
4037/** @internal */
4038export function collectIssues<T>(

Callers 1

SchemaAST.tsFile · 0.70

Calls 1

isPatternFunction · 0.70

Tested by

no test coverage detected