The assertion parts tuple defining structure
The Standard Schema implementation
The derived validation slots
Execute the assertion implementation synchronously.
Parameters for the assertion implementation
Raw parameters passed to expectSync()
Function to use as stack start for error reporting
OptionalparseResult: ParsedResult<Parts>Optional parse result containing cached validation data
Parses raw arguments synchronously against this assertion's slots to determine if they match this assertion.
Raw arguments provided to expectSync()
Result of parsing attempt
Returns the string representation of this assertion.
ReadonlyidUnique identifier for this assertion
The implementation function or schema for this assertion.
ReadonlypartsThe assertion parts used to create this assertion.
Available at runtime for introspection.
ReadonlyslotsThe slots derived from assertion parts for validation.
A synchronous assertion implemented using a Standard Schema v1 validator.
This interface represents assertions where the implementation is a Standard Schema compliant validator (from any library such as Valibot, ArkType, etc.).