@petsel/es-type-detection - v1.0.0
    Preparing search index...

    Function isFunction

    • Detects any function type, which is ... not only the typeof operator returns the 'function' string for the operated value, but the latter also features both of a function's call methods call and apply.

      This method is essential and safe.

      Parameters

      • Optionalvalue: any

        An optionally passed value of any type.

      Returns value is Function

      A boolean value which indicates whether the tested type is any kind of function.