Function isFunction

  • It will determine whether the provided value is a function or not.

    Parameters

    • value: unknown

    Returns value is FunctionT

    Since

    1.0.0

    Example

    isFunction(() => 0);
    // => true

    Example

    isFunction(2);
    // => false