doum
2025-09-05 a0e2b81650399adf23b29eb55708e8c5b0330999
1
2
3
4
5
6
7
8
9
10
'use strict';
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../function/virtual/demethodize');
 
var FunctionPrototype = Function.prototype;
 
module.exports = function (it) {
  var own = it.demethodize;
  return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.demethodize) ? method : own;
};