bupkis
    Preparing search index...

    Interface Assertion<Parts, Impl, Slots>

    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.

    interface Assertion<
        Parts extends AssertionParts,
        Impl extends AssertionImpl<Parts>,
        Slots extends AssertionSlots<Parts>,
    > {
        id: string;
        impl: Impl;
        parts: Parts;
        slots: Slots;
        toString(): string;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    id: string
    impl: Impl

    The implementation function or schema for this assertion.

    parts: Parts

    The assertion parts used to create this assertion.

    Available at runtime for introspection.

    slots: Slots

    The slots derived from assertion parts for validation.

    Methods