Package: effect
Module: Schema
Validates that a string has the Symbol(description) format used by Effect’s
symbol string encoding.
Details
The check uses the pattern ^Symbol\((.*)\)$. It is not a general test for
whether a string can be passed to JavaScript’s Symbol() function.
Signature
declare const isStringSymbol: (annotations?: Annotations.Filter) => SchemaAST.Filter<string>
Since v4.0.0