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