lodash internal isIterateeCall

raw JSON →
3.0.9 verified Sat Apr 25 auth: no javascript deprecated

This package is an internal module from lodash v3.0.9, providing the `isIterateeCall` function used internally by lodash. It is part of the lodash modular builds (the 'modern build') and is not intended for direct public consumption. The package is obsolete and unmaintained; lodash v4.0.0 (released in 2016) introduced major breaking changes, removing many internal modules. Users should not use this package directly; instead, use the main lodash package (`lodash`) or `lodash-es` for modern ESM usage. The package has approximately 5 million weekly downloads, mostly as a transitive dependency of older lodash v3.x ecosystem. No active releases since 2016.

error Cannot find module 'lodash._isiterateecall'
cause Package not installed or typo in package name (missing underscore).
fix
Run: npm install lodash._isiterateecall --save (note double underscore)
error import isIterateeCall from 'lodash._isiterateecall' throws SyntaxError: Unexpected identifier
cause Trying to use ES module import on a CJS-only package.
fix
Use require('lodash._isiterateecall') or transpile with Node --experimental-require-module.
error TypeError: lodash_1.isIterateeCall is not a function
cause Attempting to call a function that does not exist in lodash v4 public API.
fix
Use lodash v3 or access _.isIterateeCall only if using lodash v3 internals.
deprecated lodash._isiterateecall is deprecated and no longer maintained. Use the main lodash package instead.
fix Install lodash v4.x: npm install lodash --save, then use _.isEqual etc.
breaking lodash v4.0.0 removed all internal modules like lodash._isiterateecall. Code depending on this package will break.
fix Do not use this package. Migrate to lodash v4 and use its public API.
gotcha Package has no TypeScript definitions. Using with TypeScript requires custom type declarations.
fix Add a .d.ts file: declare module 'lodash._isiterateecall' { export = any; }
gotcha This package is part of the 'modern build' of lodash v3, not compatible with older lodash v2 versions.
fix Ensure compatibility by using lodash v3.x consistent subset.
npm install lodash._isiterateecall
yarn add lodash._isiterateecall
pnpm add lodash._isiterateecall

Demonstrates using the deprecated internal module. Not recommended for new code.

var lodash = require('lodash');
var internalIsIterateeCall = require('lodash._isiterateecall');

// Example: used internally in lodash v3 iteratee utilities
var result = internalIsIterateeCall([1, 2, 3], 2, '2');
console.log(result); // true or false, but not meant for public use