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