mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
|
{"ast":null,"code":"import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_getNative.js"],"names":["baseIsNative","getValue","getNative","object","key","value","undefined"],"mappings":"AAAA,OAAOA,YAAP,MAAyB,oBAAzB;AACA,OAAOC,QAAP,MAAqB,gBAArB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,SAAT,CAAmBC,MAAnB,EAA2BC,GAA3B,EAAgC;AAC9B,MAAIC,KAAK,GAAGJ,QAAQ,CAACE,MAAD,EAASC,GAAT,CAApB;AACA,SAAOJ,YAAY,CAACK,KAAD,CAAZ,GAAsBA,KAAtB,GAA8BC,SAArC;AACD;;AAED,eAAeJ,SAAf","sourcesContent":["import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n"]},"metadata":{},"sourceType":"module"}
|