12345678910111213141516171819202122232425262728293031 |
- import arrayEachRight from './_arrayEachRight.js';
- import baseEachRight from './_baseEachRight.js';
- import castFunction from './_castFunction.js';
- import isArray from './isArray.js';
- function forEachRight(collection, iteratee) {
- var func = isArray(collection) ? arrayEachRight : baseEachRight;
- return func(collection, castFunction(iteratee));
- }
- export default forEachRight;
|