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