Sha256: 301242e717c4b6c9cddd2815f7219a2842a5d6a50c9c0c7cab6b97b4dc893963

Contents?: true

Size: 310 Bytes

Versions: 36

Compression:

Stored size: 310 Bytes

Contents

var replaceAll = require('../string/virtual/replace-all');

var StringPrototype = String.prototype;

module.exports = function (it) {
  var own = it.replaceAll;
  return typeof it === 'string' || it === StringPrototype
    || (it instanceof String && own === StringPrototype.replaceAll) ? replaceAll : own;
};

Version data entries

36 entries across 35 versions & 9 rubygems

Version Path
condenser-0.2 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js
condenser-0.1 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js
condenser-0.0.12 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js
condenser-0.0.11 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js
condenser-0.0.10 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js
condenser-0.0.9 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js
condenser-0.0.8 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js
jester-data-8.0.0 node_modules/core-js/features/instance/replace-all.js
ezii-os-5.2.1 node_modules/core-js/features/instance/replace-all.js
ezii-os-2.0.1 node_modules/core-js/features/instance/replace-all.js
ezii-os-1.1.0 node_modules/core-js/features/instance/replace-all.js
ezii-os-1.0.0 node_modules/core-js/features/instance/replace-all.js
condenser-0.0.7 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js
ezii-os-0.0.0.1.0 node_modules/core-js/features/instance/replace-all.js
ezii-os-0.0.0.0.1 node_modules/core-js/features/instance/replace-all.js
condenser-0.0.5 lib/condenser/processors/node_modules/core-js-pure/features/instance/replace-all.js