Sha256: 48724d2acd50d2541cdf7c5935e409de1ca9da04555af82611f36a411807d03d

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

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

var StringPrototype = String.prototype;

module.exports = function (it) {
  var own = it.trimEnd;
  return typeof it == 'string' || it === StringPrototype
    || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimEnd) ? 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/trim-end.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/es/instance/trim-end.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/es/instance/trim-end.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/es/instance/trim-end.js