Sha256: 7f71e6cfa1b55c29cdbfd1b4a80c4ad858cb6e432eb907368ecbf483e9ffedb0

Contents?: true

Size: 400 Bytes

Versions: 4

Compression:

Stored size: 400 Bytes

Contents

'use strict';
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../string/virtual/replace-all');

var StringPrototype = String.prototype;

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/es/instance/replace-all.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/es/instance/replace-all.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/es/instance/replace-all.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/es/instance/replace-all.js