e0abc63822697d3c0bc5adcdde461a46c02d9733545cc49d296fcec2639a23d7166d2aad9f39d2fb50fcb637e356283763909b950571f566a62fdd86fde0e5 394 B

1234567891011
  1. 'use strict';
  2. var isPrototypeOf = require('../../internals/object-is-prototype-of');
  3. var method = require('../string/virtual/trim-left');
  4. var StringPrototype = String.prototype;
  5. module.exports = function (it) {
  6. var own = it.trimLeft;
  7. return typeof it == 'string' || it === StringPrototype
  8. || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trimLeft) ? method : own;
  9. };