mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
react app
This commit is contained in:
16
react-app/node_modules/lodash/internal/getNative.js
generated
vendored
Normal file
16
react-app/node_modules/lodash/internal/getNative.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
var isNative = require('../lang/isNative');
|
||||
|
||||
/**
|
||||
* Gets the native function at `key` of `object`.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} object The object to query.
|
||||
* @param {string} key The key of the method to get.
|
||||
* @returns {*} Returns the function if it's native, else `undefined`.
|
||||
*/
|
||||
function getNative(object, key) {
|
||||
var value = object == null ? undefined : object[key];
|
||||
return isNative(value) ? value : undefined;
|
||||
}
|
||||
|
||||
module.exports = getNative;
|
Reference in New Issue
Block a user