1 var startsWith = require('../string/virtual/starts-with');
3 var StringPrototype = String.prototype;
5 module.exports = function (it) {
6 var own = it.startsWith;
7 return typeof it === 'string' || it === StringPrototype
8 || (it instanceof String && own === StringPrototype.startsWith) ? startsWith : own;