Sha256: d69747cf51b7d430c3bded77f0a440dee5967c8a63b8088a72389efe27a6d74e
Contents?: true
Size: 397 Bytes
Versions: 4
Compression:
Stored size: 397 Bytes
Contents
'use strict'; var isPrototypeOf = require('../../internals/object-is-prototype-of'); var method = require('../string/virtual/trim-right'); var StringPrototype = String.prototype; module.exports = function (it) { var own = it.trimRight; return typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimRight) ? method : own; };
Version data entries
4 entries across 4 versions & 1 rubygems