isFuture<T> function

IValidator isFuture<T>()

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

Implementation

IValidator isFuture<T>() => isType<Future<T>>();