yaschema
    Preparing search index...

    Interface StringifyOptions

    interface StringifyOptions {
        forceSync?: boolean;
        replacer?: (this: any, key: string, value: any) => any;
        space?: string | number;
        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

    replacer?: (this: any, key: string, value: any) => any
    space?: string | number
    validation?: ValidationMode

    The mode for validation.

    Individual schemas may lower the validation mode.

    'hard'