@pengzhanbo/utils - v3.4.1
    Preparing search index...

    Function isFunction

    • Checks if the input is a function.

      检查输入是否为函数

      Type Parameters

      • T extends (...args: any[]) => any

      Parameters

      • v: unknown

        The value to check. 要检查的值

      Returns v is T

      True if the value is a function, false otherwise. 如果值为函数则返回true,否则返回false