demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/lodash-4.17.20/_baseInvoke.js

Path
demo___customer_pitch-c4152739-a50b-4b5b-9d4d-0561461666d9.zip-extract/_dependencies/npm/lodash-4.17.20/_baseInvoke.js
Status
scanned
Type
file
Name
_baseInvoke.js
Extension
.js
Programming language
JavaScript
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
789 (789 bytes)
MD5
565f354fce582fe9ccc84dc05ea7a38d
SHA1
b287bbe200beaf0e4825bc7bccb7ff702e0eff74
SHA256
c84423133be6432565b8a64496b372ffd237fe12cc9b6b82e311c9af8ebaf3cc
SHA512

      
    
SHA1_git
49bcf3c3532cc220decbc32618cff72739a2b89f
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
_baseInvoke.js | 789 bytes |

var apply = require('./_apply'), castPath = require('./_castPath'), last = require('./last'), parent = require('./_parent'), toKey = require('./_toKey'); /** * The base implementation of `_.invoke` without support for individual * method arguments. * * @private * @param {Object} object The object to query. * @param {Array|string} path The path of the method to invoke. * @param {Array} args The arguments to invoke the method with. * @returns {*} Returns the result of the invoked method. */ function baseInvoke(object, path, args) { path = castPath(path, object); object = parent(object, path); var func = object == null ? object : object[toKey(last(path))]; return func == null ? undefined : apply(func, object, args); } module.exports = baseInvoke;
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript