
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
is-function
Advanced tools
Is that thing a function? Use this module to find out.
Return true if fn is a function, otherwise false.
Because certain old browsers misreport the type of RegExp objects as functions.
I stole this from https://github.com/ljharb/object-keys
MIT
lodash.isfunction is a part of the Lodash library, which is a broader utility library for JavaScript. While is-function focuses solely on checking if a value is a function, lodash.isfunction offers this functionality within the context of a larger set of utility functions. Lodash's isFunction method may be preferred in projects that already use Lodash for other utilities.
kind-of is a more general type checking library that can determine the type of a given value, including whether it is a function. Unlike is-function, which is specialized for function type checking, kind-of can be used to check a wide variety of types such as strings, numbers, objects, etc. This makes kind-of a more versatile choice if your project requires extensive type checking beyond just functions.
FAQs
is that thing a function? Use this module to find out
The npm package is-function receives a total of 3,687,099 weekly downloads. As such, is-function popularity was classified as popular.
We found that is-function demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.