Stone.js API
    Preparing search index...

    What this module needs from a schema: the ability to run it and read the outcome.

    Declared so an application can substitute its own — a bespoke dialect, a shared engine it already configured — without this module knowing anything about it.

    interface IContractChecker {
        check: <T>(schema: unknown, data: unknown) => ContractResult<T>;
    }

    Implemented by

    Index
    check: <T>(schema: unknown, data: unknown) => ContractResult<T>