{"library":"lodash._basecallback","title":"lodash internal baseCallback (v3)","description":"An internal lodash module exporting the baseCallback function used in lodash v3.x (modern build). This package is part of lodash's modular build system from the v3 era and is not intended for direct public use. The latest version is 3.3.1, which corresponds to lodash v3.3.1. It was superseded by lodash v4's internal restructuring. Unlike the main lodash package, which continues with v4.x, this module is frozen at v3 and receives no further updates. Developers should not depend on it; use lodash's public API instead.","language":"javascript","status":"deprecated","last_verified":"Sat Apr 25","install":{"commands":["npm install lodash._basecallback"],"cli":null},"imports":["var baseCallback = require('lodash._basecallback');"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"var baseCallback = require('lodash._basecallback');\n// Example usage: iteratee for collection methods\nvar users = [\n  { 'user': 'barney', 'active': true },\n  { 'user': 'fred',   'active': false }\n];\nfunction predicate(user) { return user.active; }\nvar callback = baseCallback(predicate, null, 0);\nvar result = users.filter(callback);\nconsole.log(result); // => [{ 'user': 'barney', 'active': true }]","lang":"javascript","description":"Shows how to import and use baseCallback to create a callback for lodash v3-style iteration.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}