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