package.internals.function-uncurry-this-clause.js Maven / Gradle / Ivy
The newest version!
'use strict';
var classofRaw = require('../internals/classof-raw');
var uncurryThis = require('../internals/function-uncurry-this');
module.exports = function (fn) {
// Nashorn bug:
// https://github.com/zloirock/core-js/issues/1128
// https://github.com/zloirock/core-js/issues/1130
if (classofRaw(fn) === 'Function') return uncurryThis(fn);
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy