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

Function isStringSymbol

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

Source from the content-addressed store, hash-verified

5184
5185/** @internal */
5186export function isStringSymbol(annotations?: Schema.Annotations.Filter) {
5187 return isPattern(
5188 isStringSymbolRegExp,
5189 {
5190 expected: "a string representing a symbol",
5191 representation: {
5192 id: "effect/schema/isStringSymbol",
5193 payload: null
5194 },
5195 toJsonSchema: () => ({ pattern: isStringSymbolRegExp.source }),
5196 ...annotations
5197 }
5198 )
5199}
5200
5201/** @internal */
5202export function collectIssues<T>(

Callers 1

SchemaAST.tsFile · 0.70

Calls 1

isPatternFunction · 0.70

Tested by

no test coverage detected