Vinyl
    Preparing search index...

    Variable valueValidatorsConst

    valueValidators: {
        any(): Validator<any>;
        null(): Validator<null>;
        nullish(): Validator<undefined | null>;
        undefined(): Validator<undefined>;
    } = ...

    Type declaration

    • any: function
    • null: function
      • Creates a validator that asserts that the input is strictly null.

        Returns Validator<null>

    • nullish: function
      • Creates a validator that asserts that the input is nullish.

        Returns Validator<undefined | null>

    • undefined: function
      • Creates a validator that asserts that the input is strictly undefined.

        Returns Validator<undefined>