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