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