isNull function

IValidator isNull({
  1. String? message,
})

Returns a IValidator that checks if the given value is null For better performance and readability, use the $isNull variable directly.

Implementation

IValidator isNull({String? message}) => isType<Null>(message: message);