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

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

      
    
Rootfs path

      
    
Size
924 (924 bytes)
MD5
f74c9c6b076e0e0a9efc5bb7b436387a
SHA1
654c60d4bb9737aa9fa3a7ac55e889f3dc2b50e3
SHA256
96fe1c6e4e2191a491e29f9a65276eed9fc28add0679623d9b81c7b0d4acb423
SHA512

      
    
SHA1_git
7390ebaf85572d007d5afce71b09dd4cc7556cac
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
forEachRight.js | 924 bytes |

var arrayEachRight = require('./_arrayEachRight'), baseEachRight = require('./_baseEachRight'), castFunction = require('./_castFunction'), isArray = require('./isArray'); /** * This method is like `_.forEach` except that it iterates over elements of * `collection` from right to left. * * @static * @memberOf _ * @since 2.0.0 * @alias eachRight * @category Collection * @param {Array|Object} collection The collection to iterate over. * @param {Function} [iteratee=_.identity] The function invoked per iteration. * @returns {Array|Object} Returns `collection`. * @see _.forEach * @example * * _.forEachRight([1, 2], function(value) { * console.log(value); * }); * // => Logs `2` then `1`. */ function forEachRight(collection, iteratee) { var func = isArray(collection) ? arrayEachRight : baseEachRight; return func(collection, castFunction(iteratee)); } module.exports = forEachRight;
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript