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

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

      
    
Rootfs path

      
    
Size
326 (326 bytes)
MD5
20863aaf7c1fb665a5da84f30de8b660
SHA1
af88042305fb1cc58dde3bca997c206dd0359bf7
SHA256
d7b164a9bfc94ce4df4c26d318fbec98320fc8c26a0d9dabd011efde368048f1
SHA512

      
    
SHA1_git
98c91ae6378b98e60ce76eed1b80eeccac7eff0e
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
_castFunction.js | 326 bytes |

var identity = require('./identity'); /** * Casts `value` to `identity` if it's not a function. * * @private * @param {*} value The value to inspect. * @returns {Function} Returns cast function. */ function castFunction(value) { return typeof value == 'function' ? value : identity; } module.exports = castFunction;
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript