Checks if the given value is null.
null
// Ensure the value is null (but not undefined).@IsNull()value: null Copy
// Ensure the value is null (but not undefined).@IsNull()value: null
Optional
Generic class-validator options.
Checks if the given value is
null
.Example