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

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

      
    
Rootfs path

      
    
Size
574 (574 bytes)
MD5
c08e542aff414c5fd3cf4913a9a96328
SHA1
886455dc09cdf350cadc57a4bb14cf8d700db358
SHA256
f8eaac0f6f8af658933221834f7638f6d2967dbfb21d87b8e77d4feaaf4ca7e3
SHA512

      
    
SHA1_git
f608af9ec499ea7fc936924037f36927ee3d7553
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
_matchesStrictComparable.js | 574 bytes |

/** * A specialized version of `matchesProperty` for source values suitable * for strict equality comparisons, i.e. `===`. * * @private * @param {string} key The key of the property to get. * @param {*} srcValue The value to match. * @returns {Function} Returns the new spec function. */ function matchesStrictComparable(key, srcValue) { return function(object) { if (object == null) { return false; } return object[key] === srcValue && (srcValue !== undefined || (key in Object(object))); }; } module.exports = matchesStrictComparable;
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript