isFn(val): val is Function
val
val is Function
Checks if the given value is a function.
unknown
The value to be checked.
Returns true if the value is a function, false otherwise.