Sha256: 6567cd9fae2c3939e35226c0a03663aaf0ae0540e223d6e755b1f8b4d7eba6f8
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/trim-left'); var StringPrototype = String.prototype; module.exports = function (it) { var own = it.trimLeft; return typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimLeft) ? method : own; };
Version data entries
4 entries across 4 versions & 1 rubygems