yaschema
    Preparing search index...

    Interface ValidationOptions

    interface ValidationOptions {
        forceSync?: boolean;
        validation?: ValidationMode;
    }

    Hierarchy (View Summary)

    Index

    Properties

    forceSync?: boolean

    If true, synchronous validation is forced as much as possible. There may be cases, with custom schemas, where this isn't possible, and in such case a Promise will be returned, which one may which to check for -- using is-promise, for example.

    false

    validation?: ValidationMode

    The mode for validation.

    Individual schemas may lower the validation mode.

    'hard'