All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.internals.inspect-source.js Maven / Gradle / Ivy

The newest version!
'use strict';
var uncurryThis = require('../internals/function-uncurry-this');
var isCallable = require('../internals/is-callable');
var store = require('../internals/shared-store');

var functionToString = uncurryThis(Function.toString);

// this helper broken in `[email protected]`, so we can't use `shared` helper
if (!isCallable(store.inspectSource)) {
  store.inspectSource = function (it) {
    return functionToString(it);
  };
}

module.exports = store.inspectSource;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy