Sha256: c04edfc67e104dca1279c4d96d43e5a9dcf8e0b07965bfe65fa585fbe3203133
Contents?: true
Size: 279 Bytes
Versions: 36
Compression:
Stored size: 279 Bytes
Contents
var trim = require('../string/virtual/trim'); var StringPrototype = String.prototype; module.exports = function (it) { var own = it.trim; return typeof it === 'string' || it === StringPrototype || (it instanceof String && own === StringPrototype.trim) ? trim : own; };
Version data entries
36 entries across 35 versions & 9 rubygems