effect-io-ai

Package: effect
Module: ParseResult

ParseResult.is

By default the option exact is set to true.

Signature

declare const is: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions | number) => u is A

Source

Since v3.10.0