isDouble function

IValidator isDouble()

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() => isType<double>();