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

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

      
    
Rootfs path

      
    
Size
857 (857 bytes)
MD5
543821d689889165d50a020c41b2ffb4
SHA1
1b1d0a42b03e95693fc88d6a24e4a3473d15392c
SHA256
bf1e26e0b6474f3ad67e1145fea232b3e5436a069947bc46a199222ad56b3a61
SHA512

      
    
SHA1_git
443e0df5e0d38a11119d6781f393bf5b3d4530c6
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
_baseWrapperValue.js | 857 bytes |

var LazyWrapper = require('./_LazyWrapper'), arrayPush = require('./_arrayPush'), arrayReduce = require('./_arrayReduce'); /** * The base implementation of `wrapperValue` which returns the result of * performing a sequence of actions on the unwrapped `value`, where each * successive action is supplied the return value of the previous. * * @private * @param {*} value The unwrapped value. * @param {Array} actions Actions to perform to resolve the unwrapped value. * @returns {*} Returns the resolved value. */ function baseWrapperValue(value, actions) { var result = value; if (result instanceof LazyWrapper) { result = result.value(); } return arrayReduce(actions, function(result, action) { return action.func.apply(action.thisArg, arrayPush([result], action.args)); }, result); } module.exports = baseWrapperValue;
Package URL License Primary language
pkg:npm/acme-demo-app@1.0.0 JavaScript
pkg:npm/lodash@4.17.20 mit JavaScript