class-validator-extended - v4.2.0
    Preparing search index...

    Function IsNull

    • Checks if the given value is null.

      // Ensure the value is null (but not undefined).
      @IsNull()
      value: null

      Parameters

      • Optionaloptions: ValidationOptions

        Generic class-validator options.

      Returns PropertyDecorator