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