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

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

      
    
Rootfs path

      
    
Size
614 (614 bytes)
MD5
dd313f8bb59619e5615c05c09f7824bc
SHA1
2c5910535b9bc06c066c57f71b5b02965b894cfe
SHA256
c13073885738dd475d2dc16796b4d12746574b807ad173838dc3bc02c26498f8
SHA512

      
    
SHA1_git
142ad8cfb1b55cf9531fd0fd61cafd1cdbd33a5a
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
max.js | 614 bytes |

var baseExtremum = require('./_baseExtremum'), baseGt = require('./_baseGt'), identity = require('./identity'); /** * Computes the maximum value of `array`. If `array` is empty or falsey, * `undefined` is returned. * * @static * @since 0.1.0 * @memberOf _ * @category Math * @param {Array} array The array to iterate over. * @returns {*} Returns the maximum value. * @example * * _.max([4, 2, 8, 6]); * // => 8 * * _.max([]); * // => undefined */ function max(array) { return (array && array.length) ? baseExtremum(array, identity, baseGt) : undefined; } module.exports = max;
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript