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