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

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

      
    
Rootfs path

      
    
Size
580 (580 bytes)
MD5
04b293e23202bd78ac594399d81880fc
SHA1
d9a16888d3995c743789eb2003d8d5c438f00ca5
SHA256
b246cdf2a6d701349ee331fcaf6db235def81702abaccb3193da2d91e560eccc
SHA512

      
    
SHA1_git
eefc6e37d38fcef2c43b808f5180dc492eb361c2
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
_baseUnset.js | 580 bytes |

var castPath = require('./_castPath'), last = require('./last'), parent = require('./_parent'), toKey = require('./_toKey'); /** * The base implementation of `_.unset`. * * @private * @param {Object} object The object to modify. * @param {Array|string} path The property path to unset. * @returns {boolean} Returns `true` if the property is deleted, else `false`. */ function baseUnset(object, path) { path = castPath(path, object); object = parent(object, path); return object == null || delete object[toKey(last(path))]; } module.exports = baseUnset;
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript