isDouble function
Returns a IValidator that checks if the given value is a double
For better performance and readability, use the $isDouble variable directly.
Implementation
IValidator isDouble({String? message}) => isType<double>(message: message);