Create an async Assertion from parts and a
Standard Schema validator.
Parts defining the shape of the assertion, including Phrases and Zod schemas
Assertion implementation as a Standard Schema
Inferred slots based on the provided Parts
New AssertionStandardSchemaAsync object
Create an async Assertion from parts and an Zod schema.
The Zod schema need not be async itself.
Parts defining the shape of the assertion, including Phrases and Zod schemas
Assertion implementation as a Zod schema
Inferred slots based on the provided Parts
New AssertionSchemaAsync object
Create an async Assertion from parts and an
implementation function.
Parts defining the shape of the assertion, including Phrases and Zod schemas
Assertion implementation as a function
Inferred slots based on the provided Parts
New AssertionFunctionAsync object
The main factory function for creating asynchronous assertions.