isFunction

function isFunction(val): val is Function

Parameters

ParameterType
valunknown

Returns

val is Function