Function isFunction

  • 判断是否为函数

    Parameters

    • value: any

    Returns value is ((...args) => any)

    Returns true if value is a function, else false.