Function
isStringSymbol
(annotations?: Schema.Annotations.Filter)
Source from the content-addressed store, hash-verified
| 5184 | |
| 5185 | /** @internal */ |
| 5186 | export 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 */ |
| 5202 | export function collectIssues<T>( |
Tested by
no test coverage detected