isFuture<T> function
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>>();
Returns a IValidator that checks if the given value is a Future
For better performance and readability, use the $isFuture variable directly.
IValidator isFuture<T>() => isType<Future<T>>();