@supuwoerc/toolkit
    Preparing search index...

    Function isFunction

    • 判断值是否为函数

      Determine whether a value is a function.

      Type Parameters

      • T extends Function

      Parameters

      • val: any

        待判断的值 / value to check

      Returns val is T

      如果为函数返回 true / true if value is a function