Readonly
idReadonly
implThe implementation function or schema for this assertion.
Readonly
partsThe assertion parts used to create this assertion.
Available at runtime for introspection.
Readonly
slotsThe slots derived from assertion parts for validation.
Execute the assertion implementation asynchronously.
Parameters for the assertion implementation
Raw parameters passed to expectAsync()
Function to use as stack start for error reporting
Optional
parseResult: ParsedResult<Parts>Optional parse result containing cached validation data
Parses raw arguments asynchronously against this assertion's slots to determine if they match this assertion.
Raw arguments provided to expectAsync()
Result of parsing attempt
Returns the string representation of this assertion.
Interface for the base abstract
Assertion
class.This interface defines the contract for assertion instances, including properties for assertion parts, implementation, slots, and methods for parsing and executing assertions both synchronously and asynchronously.