AnyProvides the singleton Any AST instance.
When to use
Use when you need the singleton AST node for the TypeScript any type and
intentionally want parsing to accept every input value.
Source effect/SchemaAST.ts:9311 lines
export const const any: Anyconst any: {
_tag: 'Any';
getParser: () => SchemaParser.Parser;
getExpected: () => string;
annotations: Schema.Annotations.Annotations | undefined;
checks: Checks | undefined;
encoding: Encoding | undefined;
context: Context | undefined;
toString: () => string;
}
Provides the singleton
Any
AST instance.
When to use
Use when you need the singleton AST node for the TypeScript any type and
intentionally want parsing to accept every input value.
any = new constructor Any(annotations?: Schema.Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined): AnyAST node representing the any type — every value matches.
Any()Referenced by 1 symbols