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