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