• Returns true if the given argument is a function

    Example

    isFunction(2); // false
    

    Example

    isFunction(() => {}); // true
    

    Parameters

    • arg: unknown

    Returns arg is ((...args: unknown[]) => unknown)

Generated using TypeDoc